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:

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

  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 T1, T3, and DS:

Results for CHOC12/3 interfaces

Results for CHDS3 MIC interfaces

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.

  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.

  3. Configure the MLPPP encapsulation on the T3 link interfaces t3-5/2/0:3 and t3-5/2/0:1.

  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.

  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.

  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.

  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.

  8. Configure the MLFR FRF.15 encapsulation on the T3 link interfaces t3-5/2/0:1 and t3-5/2/0:3.

Results

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

MLPPP on T1 links

MLPPP on DS links

MLPPP on T3 links

MLFR FRF.15 on T1 links

MLFR FRF.15 on DS links

MLFR FRF.15 on T3 links

MLFR FRF.16 on T1 links

MLFR FRF.16 on DS links

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.