Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring Link Interfaces on Channelized MICs

Requirements

This example uses the following hardware and software components:

  • MX Series routers that support Link Interfaces on Channelized MICs with Junos OS

Overview

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

  • SDH OC3/STM1 (Multi-Rate) MIC with SFP (MIC-3D-4CHOC3-2CHOC12)

  • /SDH OC3/STM1 (Multi-Rate) MIC with SFP (MIC-3D-8CHOC3-4CHOC12)

You need to first partition each port on the MICs to configure the link interfaces and then you configure the link interfaces for bundles. An MLPPP bundle involves "bundling" multiple 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. .

For more information about multilink-based protocols on MX series 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 Junos OS 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 SDH OC3/STM1 (Multi-Rate) MIC with SFP

To partition each port on the MIC and configure the link interfaces 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 coc1set interfaces coc12-5/2/0 partition 1 oc-slice 1set interfaces coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1set interfaces coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1set interfaces coc1-5/2/0:1 no-partition interface-type t3set interfaces coc1-5/2/0:3 no-partition interface-type t3set interfaces coc1-5/2/0:2 partition 1 interface-type ct1set interfaces coc1-5/2/0:2 partition 2 interface-type t1set interfaces coc1-5/2/0:2 partition 3 interface-type ct1set interfaces coc1-5/2/0:2 partition 4 interface-type t1set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsset interfaces ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type dsset interfaces ct3-2/0/0 no-partition interface-type t3set interfaces ct3-2/0/0 partition 1 interface-type t1set interfaces ct3-2/0/0 partition 2 interface-type t1set interfaces ct3-2/0/0 partition 3 interface-type t1set interfaces ct3-2/0/0 partition 4 interface-type ct1set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsset interfaces t1-5/2/0:2:2 unit 0 family mlppp bundle rlsq0.1set interfaces ds-5/2/0:2:1:1 unit 0 family mlppp bundle rlsq0.0set interfaces ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0set interfaces t3-5/2/0:3 unit 0 family mlppp bundle rlsq0.2set interfaces t3-5/2/0:1 unit 0 family mlppp bundle rlsq0.2set interfaces t1-5/2/0:2:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0set interfaces t1-5/2/0:2:4 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0set interfaces ds-5/2/0:2:1:1 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0set interfaces ds-5/2/0:2:1:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0set interfaces t1-5/2/0:2:2 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0set interfaces t1-5/2/0:2:4 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0set interfaces ds-5/2/0:2:1:1 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0set interfaces ds-5/2/0:2:1:2 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0set interfaces t3-5/2/0:1 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.1set 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

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.

  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.

  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.

  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.

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

  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.

  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.

  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.

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

  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.

  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.

Results

Display the results of partitioning each port on the MIC and configuring the link interfaces :

Results for CHOC12/3 interfaces

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 CLI Explorer.

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 CLI Explorer.

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 CLI Explorer.