Example: Channelized OC3 IQ Interface Configuration
![]()
Figure 5 shows a sample channelization structure for a channelized OC3 IQ interface. Top-level partitions
1,2, and3create channelized OC1 interfaces. The first channelized OC1 interface,coc1-0/0/0:1, is converted directly into the T3 interfacet3-0/0/0:1. The second channelized OC1 interface,coc1-0/0/0:2, is partitioned into a T1 interface and a channelized T1 interface. The channelized T1 interface,t1-0/0/0:2:2, is then further subdivided into two NxDS0 channel groups:ds-0/0/0:2:2:1andds-0/0/0:2:2:2.The remaining channelized OC1 interface,
coc1-0/0/0:3, is converted to a channelized T3 interface, then to a channelized T1 interface, and ultimately to 14 individual NxDS0 channels and a channel group containing 10 NxDS0 channels. Additionally, channelized OC3 IQ interfacecoc3-0/1/0uses theno-partitionstatement at the[edit interfaceinterface-name]hierarchy level to create a clear channel SONET OC3 interfaceso-0/1/0. This example shows two NxDS0 mapping methods. Partition 2:x:x uses VT mapping for SONET/SDH equipment, while partition 3:x:x uses M13 mapping for North American T-carrier equipment.This example also assumes corresponding interfaces. For example, for every sublevel T1 interface you configure on Router A, assume you have configured a matching sublevel or physical T1 interface on a neighboring router.
Router A
[edit]interfaces {coc3-0/0/0 {partition 1 oc-slice 1 interface-type coc1;# Creates three channelized OC1partition 2 oc-slice 2 interface-type coc1;# interfaces: coc1-0/0/0:1 throughpartition 3 oc-slice 3 interface-type coc1;# coc1-0/0/0:3.}coc1-0/0/0:1 {no-partition interface-type t3;# This converts the COC1 interface into} # T3 interface t3-0/0/0:1.t3-0/0/0:1 {no-keepalives;encapsulation cisco-hdlc;t3-options {fcs 32;feac-loop-respond;}unit 0 {family inet {address 10.21.21.2/30;}}}coc1-0/0/0:2 {partition 1 interface-type t1;# Creates the T1 interface t1-0/0/0:2:1.partition 2 interface-type ct1;# Creates the channelized T1 interface} # ct1-0/0/0:2:2.t1-0/0/0:2:1 {no-keepalives;encapsulation cisco-hdlc;t1-options {fcs 32;}unit 0 {family inet {address 10.12.12.2/30;}}}ct1-0/0/0:2:2 {partition 1 timeslots 1-10 interface-type ds;# This converts the channelized T1partition 2 timeslots 11-24 interface-type ds;# interface into two channel} # groups: ds-0/0/0:2:2:1 and ds-0/0/0:2:2:2.ds-0/0/0:2:2:1 {# This is a channel group with 10 NxDS0s bundled as one.no-keepalives;encapsulation cisco-hdlc;unit 0 {family inet {address 10.13.13.2/30;}}}ds-0/0/0:2:2:2 {# This is a channel group with 14 NxDS0s bundled as one.encapsulation frame-relay;unit 0 {dlci 10;family inet {address 10.14.14.2/30;}}}coc1-0/0/0:3 {partition 1 interface-type ct3;# Creates the channelized T3 interface} # ct3-0/0/0:3.ct1-0/0/0:3:1 {partition 1 timeslots 1-10 interface-type ds;# Creates a channel group.partition 2 timeslots 11 interface-type ds;# Creates single NxDS0 channels.partition 3 timeslots 12 interface-type ds;partition 4 timeslots 13 interface-type ds;partition 5 timeslots 14 interface-type ds;partition 6 timeslots 15 interface-type ds;partition 7 timeslots 16 interface-type ds;partition 8 timeslots 17 interface-type ds;partition 9 timeslots 18 interface-type ds;partition 10 timeslots 19 interface-type ds;partition 11 timeslots 20 interface-type ds;partition 12 timeslots 21 interface-type ds;partition 13 timeslots 22 interface-type ds;partition 14 timeslots 23 interface-type ds;partition 15 timeslots 24 interface-type ds;}ds-0/0/0:3:1:1 {# This is a channel group with 10 NxDS0s bundled as one.no-keepalives;encapsulation cisco-hdlc;unit 0 {family inet {address 10.31.31.2/30;}}}ds-0/0/0:3:1:2 {# ds-0/0/0:3:1:2 through :15 are single NxDS0s channels.encapsulation frame-relay;unit 0 {dlci 10;family inet {address 10.32.32.2/30;}}}## Assume ds-0/0/0:3:1:3 through :14 are configured here...ds-0/0/0:3:1:15 { # ds-0/0/0:3:1:2 through :15 are single NxDS0s channels.encapsulation frame-relay;unit 0 {dlci 10;family inet {address 10.45.45.2/30;}}}coc3-0/1/0 {no-partition interface-type so;# Creates a clear channel SONET OC3 interface.}so-0/1/0 {# This is the clear channel SONET OC3 interface so-0/1/0.dce;encapsulation frame-relay;unit 1 {dlci 11;family inet {address 10.22.22.1/30;}}}}