ON THIS PAGE
Example: Configure Framing Mode for Synchronous Ethernet on MX Series Routers with 10-Gigabit Ethernet MIC
Requirements
This example uses the following hardware and software components:
Junos OS Release 11.4 or later for MX80-T, MX240, MX480, or MX960 routers
One MX80-T, MX240, MX480, and MX960 router with 10-Gigabit Ethernet MIC with XFP
Overview
You can set the framing mode at the PIC level and at the interface level with various configuration combinations. For more information about the various configuration combinations, see Synchronous Ethernet on 10-Gigabit Ethernet MIC Overview.
This example provides information about configuring framing mode at the interface level and the PIC level for Synchronous Ethernet on the 10-Gigabit Ethernet MIC with XFP.
The 10-Gigabit Ethernet MIC with XFP supports Synchronous Ethernet in LAN-PHY framing mode. This is possible only when all the logical PICs under the given Modular Interface Card (MIC) and its ingress interfaces are configured in LAN framing mode.
You can also alternatively configure a MIC in WAN-PHY framing mode on MX80, MX240, MX480, and MX960 routers by configuring all the constituent logical PICs in the same WAN-PHY framing mode in any one of the following configurations:
No framing mode configured on all the constituent logical PICs of the MIC.
Incompatible framing mode configured on constituent logical PICs of the MIC.
No framing mode configured on some of the constituent logical PICs of the MIC.
By default, the PIC-level framing mode is set to WAN framing type, that is e1 | e3 | sdh | sonet | t1 | t3. Synchronous Ethernet works on 10-Gigabit Ethernet MIC with XFP in LAN-PHY mode only when the PIC level framing configuration is configured to lan framing type explicitly.
By default, the interface-level framing mode is set to lan-phy. For WAN-PHY operation, interface framing needs to be set to wan-phy framing explicitly.
You can set the values for each parameter according to your requirement. The values given in this example are for illustration purposes only.
Configuration
CLI Quick Configuration
To quickly configure PIC-level framing and interface-level framing on the 10-Gigabit Ethernet MIC with XFP, copy the following commands and paste it into the CLI.
[edit]
set chassis fpc 2 pic 0 framing lanset chassis fpc 2 pic 1 framing lanset interfaces xe-2/1/0 framing-mode lan-phy
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.
For step-by-step configuration of Synchronous Ethernet, see Configuring Clock Synchronization Interface on MX Series Routers.
Procedure
Step-by-Step Procedure
To configure PIC-level framing on the 10-Gigabit Ethernet MIC with XFP, perform the following tasks:
In configuration mode, go to the
[edit chassis]
hierarchy level.[edit] user@host# edit chassis
Configure the FPC slot and the first PIC slot.
[edit chassis] user@host# edit fpc 2 pic 0
Configure the framing type as LAN on the first PIC slot.
[edit chassis fpc2 pic 0] user@host# set framing lan
Configure the FPC slot and the second PIC slot.
[edit chassis] user@host# edit fpc 2 pic 1
Configure the framing type as LAN on the second PIC slot.
[edit chassis fpc2 pic 0] user@host# set framing lan
Step-by-Step Procedure
To configure interface-level framing on the 10-Gigabit Ethernet MIC with XFP, perform the following tasks:
In configuration mode, go to the
[edit interfaces]
hierarchy level and set the interface as xe-2/1/0.[edit] user@host# edit interfaces xe-2/1/0
Configure the interface in LAN-PHY framing mode.
[edit interfaces xe-2/1/0] user@host# set framing-mode lan-phy
Results
Display the results of the configuration at the PIC level:
[edit] user@host# show chassis { fpc 2 { pic 0 { framing lan; } } fpc 2 { pic 1 { framing lan; } } }
Display the results of the configuration at the interface level:
[edit] user@host# show interfaces xe-2/1/0 { framing-mode lan-phy; }