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.

Figure 11: Configuring Fractional T1 in SONET Mode

Configuring Fractional T1 in SONET Mode
  1. Select an OC-12 SONET controller.
    host1(config)#controller sonet 4/0
  2. Configure two STS-1 paths.
    host1(config-controller)#path 2 oc1 1/2 host1(config-controller)#path 10 oc1 4/1
  3. Configure two VT1.5 tributaries on SONET path channel 2.
    host1(config-controller)#path 2 ds1 1/2/2 vt15 host1(config-controller)#path 2 ds1 1/7/4 vt15
  4. 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-10 host1(config-controller)#path 2 ds1 1/2/2 channel-group 2 timeslots 11, 21-26
  5. 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
  6. Configure an unchannelized T3 on SONET path channel 10.
    host1(config-controller)#path 10 ds3 1 unchannelized
  7. Configure a channelized T3 on SONET path channel 12.
    host1(config-controller)#path 12 ds3 1 channelized
  8. Configure a T1 channel on the channelized T3 on SONET path channel 12.
    host1(config-controller)#path 12 ds3 1 t1 4
  9. Configure two fractional T1 lines on the T3 in path channel 12.
    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

Example 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.

Figure 12: Configuring Fractional E1 and Unframed E1 in SDH Mode

Configuring Fractional E1 and Unframed
E1 in SDH Mode
  1. Select an OC-12 SONET controller.
    host1(config)#controller sonet 4/0
  2. Switch to SDH mode.
    host1(config-controller)#sdh
  3. Configure four STM-1 paths. An OC-12 interface has four STM-1 paths.
    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
  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
  5. 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
  6. 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
  7. Configure an unframed E1 line on tributary 2/5/2 of path 10.
    host1(config-controller)#path 10 e1 2/5/2 unframed
  8. 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
  9. Configure an unframed E1 line on tributary 1/4/1 of path 30.
    host1(config-controller)#path 30 e1 1/4/1 unframed

Example 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.

  1. Select the interface on which you want to configure Frame Relay.
    host1(config)#interface serial 4/0:2/1/7/4/1
  2. Specify Frame Relay as the encapsulation method on the interface.
    host1(config-if)#encapsulation frame-relay ietf
  3. Configure the interface as a DTE, DCE, or NNI.
    host1(config-if)#frame-relay intf-type dce

Example 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.

  1. Select the interface on which you want to configure PPP.
    host1(config)#interface serial 4/0:2/1/2/2/1
  2. Specify PPP as the encapsulation method on the interface.
    host1(config-if)#encapsulation ppp