Example: Configuring a Channelized Interface to Drop and Insert Time Slots
This example shows how to configure a channelized interface to drop and insert time slots.
Requirements
No special configuration beyond device initialization is required before configuring this feature.
Overview
This example integrates voice and data channels on a single T1 or E1 link. It also removes the DS0 time slots of one T1 or E1 port and replace them by inserting the time slots of another T1 or E1 interface.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.
To configure the drop-and-insert feature on a channelized T1/E1/ISDN PRI interface:
- Create the interface.[edit interfaces ct1-3/0/0]user@host# edit interfaces ct1-3/0/0
- Configure the clock source and partition on the interface.[edit]user@host# set clocking externaluser@host# set partition 1 timeslots 1-10user@host# set partition 1 interface-type ds

Note: While configuring the drop-and-insert feature, you must ensure that both ports on the channelized T1/E1 PIM run on the same clock.
- Create another interface.[edit]user@host# edit interfaces ct1-3/0/1
- Configure the clock source and partition on the interface.[edit interfaces ct1-3/0/1]user@host# set clocking external interface ct1-3/0/0user@host# set partition 1 timeslots 1-10user@host# set partition 1 interface-type ds

Note: While configuring the drop-and-insert feature, you must ensure that both ports on the channelized T1/E1 PIM run on the same clock.
- Create additional interfaces and configure the drop-and-insert
feature on those interfaces.[edit interfaces ds-3/0/0:1]user@host# edit interfaces ds-3/0/0:1user@host# set interfaces ds-3/0/0:1 data-input interface ds-3/0/1:1

Note: Both interfaces configured for the drop-and-insert feature must exist on the same PIM. For example, you can configure ds-3/0/0:1 as the data input interface for ds-3/0/1:1, but not for ds-4/0/0:1.
Results
From configuration mode, confirm your configuration by entering the show interfaces command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
For brevity, this show interfaces command output includes only the configuration that is relevant to this example. Any other configuration on the system has been replaced with ellipses (...).
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Verifying Channelized Interfaces
Purpose
Verify that your configurations for the channelized interfaces are correct.
Action
From operational mode, enter the show interfaces ct1-3/0/1 command.
user@host>show interfaces ct1-3/0/1Physical interface: ct1-3/0/1, Enabled, Physical link is Up Interface index: 151, SNMP ifIndex: 28 Link-level type: Controller, Clocking: Internal, Speed: E1, Loopback: None, Parent: ct1-3/0/1 Interface index 151 Framing: G704, Parent: None Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 8 supported, 8 maximum usable queues Last flapped : 2006-10-05 21:11:48 PDT (06:45:04 ago) DS1 alarms : None DS1 defects : None Line encoding: HDB3
The output shows a summary of information about the physical parent interface—a channelized T1 interface in this example.

