This section provides some configuration examples to illustrate how to use the CLI commands.
The following example illustrates how to configure T1 lines on channelized SONET interfaces, as shown in Figure 11.
Figure 11: Configuring Fractional T1 in SONET Mode

- host1(config)#controller sonet 4/0
- host1(config-controller)#path 2 oc1 1/2
- host1(config-controller)#path 10 oc1 4/1
- host1(config-controller)#path 2 ds1 1/2/2
vt15
- host1(config-controller)#path 2 ds1 1/7/4
vt15
- host1(config-controller)#path 2 ds1 1/2/2
channel-group 1 timeslots 1-10
- host1(config-controller)#path 2 ds1 1/2/2
channel-group 2 timeslots 11, 21-26
- host1(config-controller)#path 2 ds1 1/7/4
channel-group 1 timeslots 2-7
- host1(config-controller)#path 10 ds3 1 unchannelized
- host1(config-controller)#path 12 ds3 1 channelized
- host1(config-controller)#path 12 ds3 1 t1
4
- host1(config-controller)#path 12 ds3 1 t1
4/1 timeslots 3-8
- host1(config-controller)#path 12 ds3 1 t1
4/2 timeslots 20
The following example illustrates how to configure fractional E1 and unframed E1 lines in SDH mode, as shown in Figure 12.
Figure 12: Configuring Fractional E1 and Unframed E1 in SDH Mode

- host1(config)#controller sonet 4/0
- host1(config-controller)#sdh
- host1(config-controller)#path 10 stm1 1
- host1(config-controller)#path 20 stm1 2
- host1(config-controller)#path 30 stm1 3
- host1(config-controller)#path 40 stm1 4
- host1(config-controller)#path 10 e1 2/7/1
tu12
- host1(config-controller)#path 10 e1 2/5/2
tu12
- host1(config-controller)#path 10 e1 2/7/1
channel-group 1 timeslots 2-5
- host1(config-controller)#path 10 e1 2/5/2
unframed
- host1(config-controller)#path 30 e1 1/4/1
tu12
- host1(config-controller)#path 30 e1 1/4/1
unframed
The following example illustrates how to configure Frame Relay on VT 1/7/4 in path 2 of the configuration shown in Figure 11.
- host1(config)#interface serial 4/0:2/1/7/4/1
- host1(config-if)#encapsulation frame-relay
ietf
- host1(config-if)#frame-relay intf-type dce
The following example illustrates how to configure PPP on VT 1/2/2 in path 2 of the configuration shown in Figure 11.
- host1(config)#interface serial 4/0:2/1/2/2/1
- host1(config-if)#encapsulation ppp