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.
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
- Partitioning Ports on the Channelized MICs and Configuring the Link Interfaces T1, T3, and DS
- Configuring MLPPP, MLFR FRF.15, and MLFR FRF.16 on Link Interfaces for Bundles
- Results
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 T1, T3, and DS
Step-by-Step Procedure
To partition each port on the channelized MICs:
Configure the
coc12-5/2/0
interface by setting thepartition
option to1
with 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/0
interface 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/0
interface by setting thepartition
option to2
with the sublevel interface type set tococ1
and 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/0
interface by setting thepartition
option to3
with the sublevel interface type set tococ1
and 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:1
interface as a clear channel by setting theno-partition
option 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:3
interface as a clear channel by setting theno-partition
option 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:2
interface by setting thepartition
option to1
and3
with the sublevel interface type set toct1
. Configure thecoc1-5/2/0:2
interface by setting thepartition
option to2
and4
with 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:1
interface by setting thepartition
option to1
and2
with 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/0
by setting theno-partition
option 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/0
by setting thepartition
option to1
,2
, and3
with the sublevel interface typeds
. Configure thect3-2/0/0
interface by setting thepartition
option to4
with 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:4
interface by setting thepartition
option to1
and2
with 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 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:
Configure the MLPPP encapsulation on the T1 link interfaces
t1-5/2/0:2:2
andt1-5/2/0:2:4
.[edit interfaces] user@host# set t1-5/2/0:2:2 unit 0 family mlppp bundle rlsq0.1 user@host# set t1-5/2/0:2:4 unit 0 family mlppp bundle rlsq0.1
Configure the MLPPP encapsulation on the DS link interfaces
ds-5/2/0:2:1:1
andds-5/2/0:2:1:2
.[edit interfaces] user@host# set ds-5/2/0:2:1:1 unit 0 family mlppp bundle rlsq0.0 user@host# set ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0
Configure the MLPPP encapsulation on the T3 link interfaces
t3-5/2/0:3
andt3-5/2/0:1
.[edit interfaces] user@host# set t3-5/2/0:3 unit 0 family mlppp bundle rlsq0.2 user@host# set t3-5/2/0:1 unit 0 family mlppp bundle rlsq0.2
Configure the MLFR FRF.16 encapsulation on the T1 link interfaces
t1-5/2/0:2:2
andt1-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:0 user@host# set t1-5/2/0:2:4 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
Configure the MLFR FRF.16 encapsulation on the DS link interfaces
ds-5/2/0:2:1:1
andds-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:0 user@host# set ds-5/2/0:2:1:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
Configure the MLFR FRF.15 encapsulation on the T1 link interfaces
t1-5/2/0:2:2
andt1-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.0 user@host# set t1-5/2/0:2:4 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
Configure the MLFR FRF.15 encapsulation on the DS link interfaces
ds-5/2/0:2:1:1
andds-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.0 user@host# set ds-5/2/0:2:1:2 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
Configure the MLFR FRF.15 encapsulation on the T3 link interfaces
t3-5/2/0:1
andt3-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.1 user@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
- 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.