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

    Example: Configuring Link Interfaces on Channelized MICs

    Requirements

    This example uses the following hardware and software components:

    • Junos OS Release 12.1 or later for MX240, MX480, and MX960 routers
    • One MX240, MX480, or MX960 router

    Overview

    This example provides information about configuring the link interfaces on the following channelized MICs:

    • 4-port Channelized SONET/SDH OC3/STM1 (Multi-Rate) MIC with SFP (MIC-3D-4CHOC3-2CHOC12)
    • 8-port Channelized SONET/SDH OC3/STM1 (Multi-Rate) MIC with SFP (MIC-3D-8CHOC3-4CHOC12)
    • 8-port Channelized DS3/E3 MIC (MIC-3D-8CHDS3-E3-B)

    You need to first partition each port on the MICs to configure the link interfaces T1, T3, and DS, and then you configure the link interfaces for bundles. An MLPPP bundle involves "bundling" multiple T1/T3/DS interfaces into a single, logical interface that uses only one IP address. For more information about MLPPP bundles, see Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial Links. Similarly, you can partition the ports to configure the MICs to the E1/E3 interfaces by setting the framing mode to SDH.

    For more information about multilink-based protocols on MX240, MX480, and MX960 routers with Multiservices DPC, see Multilink Interfaces on Channelized MICs Overview.

    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 in the CLI User Guide.

    Note: You can set the values for each parameter according to your requirement. The values given in this example are for illustration purposes only.

    Configuration on 4-port Channelized SONET/SDH OC3/STM1 (Multi-Rate) MIC with SFP

    To partition each port on the MIC and configure the link interfaces T1, T3, and DS on it and to configure the link interfaces for bundles, perform the following tasks:

    CLI Quick Configuration

    To quickly configure synchronization on the aforementioned routers, copy the following commands, paste them in a text file, remove any line breaks, and then copy and paste the commands into the CLI.

    [edit]

    set interfaces coc12-5/2/0 partition 1 interface-type coc1
    set interfaces coc12-5/2/0 partition 1 oc-slice 1
    set interfaces coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1
    set interfaces coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1
    set interfaces coc1-5/2/0:1 no-partition interface-type t3
    set interfaces coc1-5/2/0:3 no-partition interface-type t3
    set interfaces coc1-5/2/0:2 partition 1 interface-type ct1
    set interfaces coc1-5/2/0:2 partition 2 interface-type t1
    set interfaces coc1-5/2/0:2 partition 3 interface-type ct1
    set interfaces coc1-5/2/0:2 partition 4 interface-type t1
    set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds
    set interfaces ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds
    set interfaces ct3-2/0/0 no-partition interface-type t3
    set interfaces ct3-2/0/0 partition 1 interface-type t1
    set interfaces ct3-2/0/0 partition 2 interface-type t1
    set interfaces ct3-2/0/0 partition 3 interface-type t1
    set interfaces ct3-2/0/0 partition 4 interface-type ct1
    set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds
    set interfaces t1-5/2/0:2:2 unit 0 family mlppp bundle rlsq0.1
    set interfaces ds-5/2/0:2:1:1 unit 0 family mlppp bundle rlsq0.0
    set interfaces ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0
    set interfaces t3-5/2/0:3 unit 0 family mlppp bundle rlsq0.2
    set interfaces t3-5/2/0:1 unit 0 family mlppp bundle rlsq0.2
    set interfaces t1-5/2/0:2:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    set interfaces t1-5/2/0:2:4 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    set interfaces ds-5/2/0:2:1:1 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    set interfaces ds-5/2/0:2:1:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    set interfaces t1-5/2/0:2:2 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0
    set interfaces t1-5/2/0:2:4 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
    set interfaces ds-5/2/0:2:1:1 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0
    set interfaces ds-5/2/0:2:1:2 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
    set interfaces t3-5/2/0:1 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.1
    set interfaces t3-5/2/0:3 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.1

    Partitioning Ports on the Channelized MICs and Configuring the Link Interfaces T1, T3, and DS

    Step-by-Step Procedure

    To partition each port on the channelized MICs:

    1. Configure the coc12-5/2/0 interface by setting the partition option to 1 with the sublevel interface type set to coc1.
      [edit interfaces]user@host# set coc12-5/2/0 partition 1 interface-type coc1
    2. Configure the coc12-5/2/0 interface with the OC-slice range (OC-slice range specifies the bandwidth size required for the interface type you are configuring) set to 1.
      [edit interfaces]user@host# set coc12-5/2/0 partition 1 oc-slice 1
    3. Configure the coc12-5/2/0 interface by setting the partition option to 2 with the sublevel interface type set to coc1 and the OC-slice range set to 2.
      [edit interfaces]user@host# set coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1
    4. Configure the coc12-5/2/0 interface by setting the partition option to 3 with the sublevel interface type set to coc1 and the OC-slice range set to 3.
      [edit interfaces]user@host# set coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1
    5. Configure the coc1-5/2/0:1 interface as a clear channel by setting the no-partition option for the sublevel interface type t3 . (A clear channel consolidates the entire bandwidth of a channelized interface into a single unpartioned stream that looks like a standard interface.)
      [edit interfaces]user@host# set coc1-5/2/0:1 no-partition interface-type t3
    6. Configure the coc1-5/2/0:3 interface as a clear channel by setting the no-partition option for the sublevel interface type t3.
      [edit interfaces]user@host# set coc1-5/2/0:3 no-partition interface-type t3
    7. Configure the coc1-5/2/0:2 interface by setting the partition option to 1 and 3 with the sublevel interface type set to ct1. Configure the coc1-5/2/0:2 interface by setting the partition option to 2 and 4 with the sublevel interface type set to t1.
      [edit interfaces]user@host# set coc1-5/2/0:2 partition 1 interface-type ct1user@host# set coc1-5/2/0:2 partition 2 interface-type t1user@host# set coc1-5/2/0:2 partition 3 interface-type ct1user@host# set coc1-5/2/0:2 partition 4 interface-type t1
    8. Configure the ct1-5/2/0:2:1 interface by setting the partition option to 1 and 2 with the sublevel interface type set to ds. Configure the time slots for the partitions.
      [edit interfaces]user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsuser@host# set ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds
    9. Configure a clear channel on the channelized interface ct3-2/0/0 by setting the no-partition option to the sublevel interface type t3 (a clear channel consolidates the entire bandwidth of a channelized interface into a single unpartitioned stream that looks like a standard interface).
      [edit interfaces]user@host# set ct3-2/0/0 no-partition interface-type t3
    10. Configure a clear channel on the channelized interface ct3-2/0/0 by setting the partition option to 1, 2, and 3 with the sublevel interface type ds. Configure the ct3-2/0/0 interface by setting the partition option to 4 with the sublevel interface type ct1.
      [edit interfaces]user@host# set ct3-2/0/0 partition 1 interface-type t1user@host# set ct3-2/0/0 partition 2 interface-type t1user@host# set ct3-2/0/0 partition 3 interface-type t1user@host# set ct3-2/0/0 partition 4 interface-type ct1
    11. Configure the ct1-2/0/0:4 interface by setting the partition option to 1 and 2 with the sublevel interface type set to ds. Configure the time slots for the partitions.
      [edit interfaces]user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsuser@host# set ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds

    Results

    Display the results of partitioning each port on the MIC and configuring the link interfaces T1, T3, and DS:

    Results for CHOC12/3 interfaces

    user@host# show interfaces
    coc12-5/2/0 {partition 1 oc-slice 1 interface-type coc1;partition 2 oc-slice 2 interface-type coc1;partition 3 oc-slice 3 interface-type coc1;}
    coc1-5/2/0:1 {no-partition interface-type t3;}
    coc1-5/2/0:3 {no-partition interface-type t3;}
    coc1-5/2/0:2 {partition 1 interface-type ct1;partition 2 interface-type t1;partition 3 interface-type ct1;partition 4 interface-type t1;}

    Results for CHDS3 MIC interfaces

    user@host# show interfaces
    ct1-5/2/0:2:1 {partition 1 timeslots 1 interface-type ds;partition 2 timeslots 2 interface-type ds;}
    ct3-2/0/0 {no-partition interface-type t3;partition 1 interface-type t1;partition 2 interface-type t1;partition 3 interface-type t1;partition 4 interface-type ct1;}
    ct1-2/0/0:4 {partition 1 timeslots 1 interface-type ds;partition 2 timeslots 2 interface-type ds;}

    Configuring MLPPP, MLFR FRF.15, and MLFR FRF.16 on Link Interfaces for Bundles

    Step-by-Step Procedure

    To configure MLPPP, MLFR FRF.15, and MLFR FRF.16 on the link interfaces T1, T3, and DS for bundles:

    1. Configure the MLPPP encapsulation on the T1 link interfaces t1-5/2/0:2:2 and t1-5/2/0:2:4.
      [edit interfaces]user@host# set t1-5/2/0:2:2 unit 0 family mlppp bundle rlsq0.1user@host# set t1-5/2/0:2:4 unit 0 family mlppp bundle rlsq0.1
    2. Configure the MLPPP encapsulation on the DS link interfaces ds-5/2/0:2:1:1 and ds-5/2/0:2:1:2.
      [edit interfaces]user@host# set ds-5/2/0:2:1:1 unit 0 family mlppp bundle rlsq0.0user@host# set ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0
    3. Configure the MLPPP encapsulation on the T3 link interfaces t3-5/2/0:3 and t3-5/2/0:1.
      [edit interfaces]user@host# set t3-5/2/0:3 unit 0 family mlppp bundle rlsq0.2user@host# set t3-5/2/0:1 unit 0 family mlppp bundle rlsq0.2
    4. Configure the MLFR FRF.16 encapsulation on the T1 link interfaces t1-5/2/0:2:2 and t1-5/2/0:2:4.
      [edit interfaces]user@host# set t1-5/2/0:2:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0user@host# set t1-5/2/0:2:4 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    5. Configure the MLFR FRF.16 encapsulation on the DS link interfaces ds-5/2/0:2:1:1 and ds-5/2/0:2:1:2.
      [edit interfaces]user@host# set ds-5/2/0:2:1:1 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0user@host# set ds-5/2/0:2:1:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
    6. Configure the MLFR FRF.15 encapsulation on the T1 link interfaces t1-5/2/0:2:2 and t1-5/2/0:2:4.
      [edit interfaces]user@host# set t1-5/2/0:2:2 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0user@host# set t1-5/2/0:2:4 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
    7. Configure the MLFR FRF.15 encapsulation on the DS link interfaces ds-5/2/0:2:1:1 and ds-5/2/0:2:1:2.
      [edit interfaces]user@host# set ds-5/2/0:2:1:1 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0user@host# set ds-5/2/0:2:1:2 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
    8. Configure the MLFR FRF.15 encapsulation on the T3 link interfaces t3-5/2/0:1 and t3-5/2/0:3.
      [edit interfaces]user@host# set t3-5/2/0:1 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.1user@host# set t3-5/2/0:3 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.1

    Results

    Display the results of the configuration of link interfaces for bundles:

    MLPPP on T1 links

    user@host# show interfaces
    t1-5/2/0:2:2 {unit 0 {family mlppp {bundle rlsq0.1;}}}
    t1-5/2/0:2:4 {unit 0 {family mlppp {bundle rlsq0.1;}}}

    MLPPP on DS links

    user@host# show interfaces
    ds-5/2/0:2:1:1 {unit 0 {family mlppp {bundle rlsq0.0;}}}
    ds-5/2/0:2:1:2 {unit 0 {family mlppp {bundle rlsq0.0;}}}

    MLPPP on T3 links

    user@host# show interfaces
    t3-5/2/0:3 {unit 0 {family mlppp {bundle rlsq0.2;}}}
    t3-5/2/0:1 {unit 0 {family mlppp {bundle rlsq0.2;}}}

    MLFR FRF.15 on T1 links

    user@host# show interfaces
    t1-5/2/0:2:2 {encapsulation frame-relay;unit 0 {dlci 10;family mlfr-end-to-end {bundle rlsq0.0;}}}
    t1-5/2/0:2:4 {encapsulation frame-relay;unit 0 {dlci 11;family mlfr-end-to-end {bundle rlsq0.0;}}}

    MLFR FRF.15 on DS links

    user@host# show interfaces
    ds-5/2/0:2:1:1 {encapsulation frame-relay;unit 0 {dlci 10;family mlfr-end-to-end {bundle rlsq0.0;}}}
    ds-5/2/0:2:1:2 {encapsulation frame-relay;unit 0 {dlci 11;family mlfr-end-to-end {bundle rlsq0.0;}}}

    MLFR FRF.15 on T3 links

    user@host# show interfaces
    t3-5/2/0:1 {encapsulation frame-relay;unit 0 {dlci 11;family mlfr-end-to-end {bundle rlsq0.1;}}}
    t3-5/2/0:3 {encapsulation frame-relay;unit 0 {dlci 10;family mlfr-end-to-end {bundle rlsq0.1;}}}

    MLFR FRF.16 on T1 links

    user@host# show interfaces
    t1-5/2/0:2:2 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle rlsq0:0;}}}
    t1-5/2/0:2:4 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle rlsq0:0;}}}

    MLFR FRF.16 on DS links

    user@host# show interfaces
    ds-5/2/0:2:1:1 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle rlsq0:0;}}}
    ds-5/2/0:2:1:2 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle rlsq0:0;}}}

    Verification

    Confirm that the configuration is working properly.

    Verifying the MLPPP Bundle

    Purpose

    Verify that the constituent links are added to the bundle correctly.

    Action

    From operational mode, enter the show interfaces lsq-fpc/pic/port command.

    Meaning

    The output displays the constituent links that are added to the bundle. For more information about the show interfaces lsq-fpc/pic/port operational command, see the Junos OS Operational Mode Commands.

    Verifying the MLFR FRF.15 Configuration

    Purpose

    Verify the MLFR FRF.15 configuration.

    Action

    From operational mode, enter the show interfaces lsq-fpc/pic/port command.

    Meaning

    The output displays the standard status information about the specified link services IQ interface. For more information about the show interfaces lsq-fpc/pic/port operational command, see the Junos OS Operational Mode Commands.

    Verifying the MLFR FRF.16 Configuration

    Purpose

    Verify the MLFR FRF.16 configuration.

    Action

    From operational mode, enter the show interfaces lsq-fpc/pic/port command.

    Meaning

    The output displays the standard status information about the specified link services IQ interface. For more information about the show interfaces lsq-fpc/pic/port operational command, see the Junos OS Operational Mode Commands.

    Published: 2013-02-15