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.
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
- Partitioning Ports on the Channelized MICs and Configuring the Link Interfaces
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:
Configure the
coc12-5/2/0interface by setting thepartitionoption to1with the sublevel interface type set tococ1.[edit interfaces] user@host# set coc12-5/2/0 partition 1 interface-type coc1
Configure the
coc12-5/2/0interface with the OC-slice range (OC-slice range specifies the bandwidth size required for the interface type you are configuring) set to1.[edit interfaces] user@host# set coc12-5/2/0 partition 1 oc-slice 1
Configure the
coc12-5/2/0interface by setting thepartitionoption to2with the sublevel interface type set tococ1and the OC-slice range set to2.[edit interfaces] user@host# set coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1
Configure the
coc12-5/2/0interface by setting thepartitionoption to3with the sublevel interface type set tococ1and the OC-slice range set to3.[edit interfaces] user@host# set coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1
Configure the
coc1-5/2/0:1interface as a clear channel by setting theno-partitionoption for the sublevel interface typet3. (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
Configure the
coc1-5/2/0:3interface as a clear channel by setting theno-partitionoption for the sublevel interface typet3.[edit interfaces] user@host# set coc1-5/2/0:3 no-partition interface-type t3
Configure the
coc1-5/2/0:2interface by setting thepartitionoption to1and3with the sublevel interface type set toct1. Configure thecoc1-5/2/0:2interface by setting thepartitionoption to2and4with the sublevel interface type set tot1.[edit interfaces] user@host# set coc1-5/2/0:2 partition 1 interface-type ct1 user@host# set coc1-5/2/0:2 partition 2 interface-type t1 user@host# set coc1-5/2/0:2 partition 3 interface-type ct1 user@host# set coc1-5/2/0:2 partition 4 interface-type t1
Configure the
ct1-5/2/0:2:1interface by setting thepartitionoption to1and2with the sublevel interface type set tods. Configure the time slots for the partitions.[edit interfaces] user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds user@host# set ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds
Configure a clear channel on the channelized interface
ct3-2/0/0by setting theno-partitionoption to the sublevel interface typet3(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
Configure a clear channel on the channelized interface
ct3-2/0/0by setting thepartitionoption to1,2, and3with the sublevel interface typeds. Configure thect3-2/0/0interface by setting thepartitionoption to4with the sublevel interface typect1.[edit interfaces] user@host# set ct3-2/0/0 partition 1 interface-type t1 user@host# set ct3-2/0/0 partition 2 interface-type t1 user@host# set ct3-2/0/0 partition 3 interface-type t1 user@host# set ct3-2/0/0 partition 4 interface-type ct1
Configure the
ct1-2/0/0:4interface by setting thepartitionoption to1and2with the sublevel interface type set tods. Configure the time slots for the partitions.[edit interfaces] user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds user@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 :
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;
}
Verification
Confirm that the configuration is working properly.
- Verifying the MLPPP Bundle
- Verifying the MLFR FRF.15 Configuration
- Verifying the MLFR FRF.16 Configuration
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.