Configuration Examples
This section provides some configuration examples to illustrate how to use the CLI commands.
Example 1: Configuring Interfaces in SONET Mode
The following example illustrates how to configure T1 lines on channelized SONET interfaces, as shown in Figure 11.
![]()
- Select an OC-12 SONET controller.
host1(config)#controller sonet 4/0- Configure two STS-1 paths.
host1(config-controller)#path 2 oc1 1/2host1(config-controller)#path 10 oc1 4/1- Configure two VT1.5 tributaries on SONET path channel 2.
host1(config-controller)#path 2 ds1 1/2/2 vt15host1(config-controller)#path 2 ds1 1/7/4 vt15- Configure two fractional T1 lines on VT 1/2/2 in path 2.
host1(config-controller)#path 2 ds1 1/2/2 channel-group 1 timeslots 1-10host1(config-controller)#path 2 ds1 1/2/2 channel-group 2 timeslots 11, 21-26- Configure a fractional T1 line on VT 1/7/4 in path 2.
host1(config-controller)#path 2 ds1 1/7/4 channel-group 1 timeslots 2-7- Configure an unchannelized T3 on SONET path channel 10.
host1(config-controller)#path 10 ds3 1 unchannelized- Configure a channelized T3 on SONET path channel 12.
host1(config-controller)#path 12 ds3 1 channelized- Configure a T1 channel on the channelized T3 on SONET path channel 12.
host1(config-controller)#path 12 ds3 1 t1 4- Configure two fractional T1 lines on the T3 in path channel 12.
host1(config-controller)#path 12 ds3 1 t1 4/1 timeslots 3-8host1(config-controller)#path 12 ds3 1 t1 4/2 timeslots 20Example 2: Configuring Interfaces in SDH Mode
The following example illustrates how to configure fractional E1 and unframed E1 lines in SDH mode, as shown in Figure 12.
![]()
- Select an OC-12 SONET controller.
host1(config)#controller sonet 4/0- Switch to SDH mode.
host1(config-controller)#sdh- Configure four STM-1 paths. An OC-12 interface has four STM-1 paths.
host1(config-controller)#path 10 stm1 1host1(config-controller)#path 20 stm1 2host1(config-controller)#path 30 stm1 3host1(config-controller)#path 40 stm1 4- Configure a TU-12 on TUG-2 #7 on TUG-3 #2 of path 10.
host1(config-controller)#path 10 e1 2/7/1 tu12- Configure a TU-12 on TUG-2 #5 on TUG-3 #2 of path 10.
host1(config-controller)#path 10 e1 2/5/2 tu12- Configure a fractional E1 line on tributary 2/7/1 of path 10.
host1(config-controller)#path 10 e1 2/7/1 channel-group 1 timeslots 2-5- Configure an unframed E1 line on tributary 2/5/2 of path 10.
host1(config-controller)#path 10 e1 2/5/2 unframed- Configure a TU-12 on TUG-2 #4 on TUG-3 #1 of path 30.
host1(config-controller)#path 30 e1 1/4/1 tu12- Configure an unframed E1 line on tributary 1/4/1 of path 30.
host1(config-controller)#path 30 e1 1/4/1 unframedExample 3: Configuring Frame Relay
The following example illustrates how to configure Frame Relay on VT 1/7/4 in path 2 of the configuration shown in Figure 11.
- Select the interface on which you want to configure Frame Relay.
host1(config)#interface serial 4/0:2/1/7/4/1- Specify Frame Relay as the encapsulation method on the interface.
host1(config-if)#encapsulation frame-relay ietf- Configure the interface as a DTE, DCE, or NNI.
host1(config-if)#frame-relay intf-type dceExample 4: Configuring PPP
The following example illustrates how to configure PPP on VT 1/2/2 in path 2 of the configuration shown in Figure 11.