Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring Complementary Clock Sources on Channelized Interfaces

    This example shows how to configure complementary clock sources on channelized interfaces.

    Requirements

    No special configuration beyond device initialization is required before configuring this feature.

    Overview

    J Series devices connected to one another must have complementary clock sources configured. In the following examples, device R1 is connected to devices R2 and R3. Port 0 on the channelized T1/E1/ISDN PRI PIM of R1 is connected to R2, and port 1 is connected to R3. The drop-and-insert feature is configured on R1 to insert input coming from R2 on port 0 into port 1 for transmission to R3.

    Devices R1, R2, and R3 can be configured in three ways, depending on whether the drop-and-insert clock source on R1 is the external clock for port 0, the external clock for port 1, or the device's internal clock.

    Configuration

    Configuring the External Clock for Port 0 as the Clock Source

    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.

    For device R2set interfaces ct1-6/0/0 partition 1 timeslots 1-10 interface-type dsset interfaces ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30 For device R3set interfaces ct1-3/0/0 clocking external set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30 For device R1set interfaces ct1-3/0/0 clocking external set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 data-input interface ds-3/0/1:1 set interfaces ct1-3/0/1 clocking external interface ct1-3/0/0 set interfaces ct1-3/0/1 partition 1 timeslots 1-10 interface-type ds

    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 interfaces on device R1 to use the external clock for port 0:

    1. Configure device R2.
      [edit interfaces]user@host# set ct1-6/0/0 partition 1 timeslots 1-10user@host# set ct1-6/0/0 partition 1 interface-type dsuser@host# set ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30
    2. Configure device R3.
      [edit interfaces]user@host# set ct1-3/0/0 clocking externaluser@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30
    3. Configure device R1.
      [edit interfaces]user@host# set ct1-3/0/0 clocking externaluser@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 data-input interface ds-3/0/1:1user@host# set ct1-3/0/1 clocking external interface ct1-3/0/0user@host# set ct1-3/0/1 partition 1 timeslots 1-10user@host# set ct1-3/0/1 partition 1 interface-type ds

    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 device R2[edit]user@host# show interfaces ct1-6/0/0 {partition 1 timeslots 1-10 interface-type ds;}ds-6/0/0:1 {unit 0 {family inet {address 10.46.46.1/30;}}}For device R3[edit]user@host# show interfaces ct1-3/0/0 {clocking external;partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {unit 0 {family inet {address 10.46.46.2/30;}}}For device R1[edit]user@host# show interfaces ct1-3/0/0 {clocking external;partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {data-input {interface ds-3/0/1:1;}}ct1-3/0/1 {clocking external interface ct1-3/0/0;partition 1 timeslots 1-10 interface-type ds;}

    If you are done configuring the device, enter commit from configuration mode.

    Configuring the External Clock for Port 1 as the Clock Source

    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.

    For device R2 set interfaces ct1-6/0/0 clocking externalset interfaces ct1-6/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30 For device R3 set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30 For device R1set interfaces ct1-3/0/0 clocking external interface ct1-3/0/1 set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 data-input interface ds-3/0/1:1 set interfaces ct1-3/0/1 clocking external set interfaces ct1-3/0/1 partition 1 timeslots 1-10 interface-type ds

    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 interfaces on device R1 to use the external clock for port 1:

    1. Configure device R2.
      [edit interfaces]user@host# set ct1-6/0/0 clocking externaluser@host# set ct1-6/0/0 partition 1 timeslots 1-10user@host# set ct1-6/0/0 partition 1 interface-type dsuser@host# set ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30
    2. Configure device R3.
      [edit interfaces]user@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30
    3. Configure device R1.
      [edit interfaces]user@host# set ct1-3/0/0 clocking external interface ct1-3/0/1user@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 data-input interface ds-3/0/1:1user@host# set ct1-3/0/1 clocking externaluser@host# set ct1-3/0/1 partition 1 timeslots 1-10user@host# set ct1-3/0/1 partition 1 interface-type ds

    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 device R2[edit]user@host# show interfaces ct1-6/0/0 {clocking external;partition 1 timeslots 1-10 interface-type ds;}ds-6/0/0:1 {unit 0 {family inet {address 10.46.46.1/30;}}}
    For device R3[edit]user@host# show interfaces ct1-3/0/0 {partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {unit 0 {family inet {address 10.46.46.2/30;}}}
    For device R1[edit]user@host# show interfaces ct1-3/0/0 {clocking external interface ct1-3/0/1;partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {data-input {interface ds-3/0/1:1;}}ct1-3/0/1 {clocking external;partition 1 timeslots 1-10 interface-type ds;}

    If you are done configuring the device, enter commit from configuration mode.

    Configuring the Internal Clock of the Device as the Clock Source

    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.

    For device R2set interfaces ct1-6/0/0 clocking externalset interfaces ct1-6/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30 For device R3set interfaces ct1-3/0/0 clocking external set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30 For device R1 set interfaces ct1-3/0/0 clocking internal set interfaces ct1-3/0/0 partition 1 timeslots 1-10 interface-type ds set interfaces ds-3/0/0:1 data-input interface ds-3/0/1:1 set interfaces ct1-3/0/1 clocking internal set interfaces ct1-3/0/1 partition 1 timeslots 1-10 interface-type ds

    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 interfaces on device R1 to use the internal clock of the device:

    1. Configure device R2.
      [edit interfaces]user@host# set ct1-6/0/0 clocking externaluser@host# set ct1-6/0/0 partition 1 timeslots 1-10user@host# set ct1-6/0/0 partition 1 interface-type dsuser@host# set ds-6/0/0:1 unit 0 family inet address 10.46.46.1/30
    2. Configure device R3.
      [edit interfaces]user@host# set ct1-3/0/0 clocking externaluser@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 unit 0 family inet address 10.46.46.2/30
    3. Configure device R1.
      [edit interfaces]user@host# set ct1-3/0/0 clocking internaluser@host# set ct1-3/0/0 partition 1 timeslots 1-10user@host# set ct1-3/0/0 partition 1 interface-type dsuser@host# set ds-3/0/0:1 data-input interface ds-3/0/1:1user@host# set ct1-3/0/1 clocking internaluser@host# set ct1-3/0/1 partition 1 timeslots 1-10user@host# set ct1-3/0/1 partition 1 interface-type ds

    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 device R2[edit]user@host# show interfaces ct1-6/0/0 {clocking external;partition 1 timeslots 1-10 interface-type ds;}ds-6/0/0:1 {unit 0 {family inet {address 10.46.46.1/30;}}}
    For device R3[edit]user@host# show interfaces ct1-3/0/0 {clocking external;partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {unit 0 {family inet {address 10.46.46.2/30;}}}
    For device R1[edit]user@host# show interfaces ct1-3/0/0 {clocking internal;partition 1 timeslots 1-10 interface-type ds;}ds-3/0/0:1 {data-input {interface ds-3/0/1:1;}}ct1-3/0/1 {clocking internal;partition 1 timeslots 1-10 interface-type ds;}

    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/1
    Physical 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,
      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

    Published: 2014-04-24