Example: Configuring MX Series Router ATM Ethernet Interworking
Consider the router topology shown in Figure 1. The MX Series router is configured as the Provider Edge 2 (PE2) router in the figure to support the ATM Ethernet IWF.
Figure 1: ATM Ethernet VLAN Interworking

The relevant router interfaces are:
- On CE1, the CE1–PE1 interface is at-2/0/0 with IP address 30.1.1.1/24
-
On PE1:
- The PE1–CE1 interface is at-2/0/1 with no IP address required
- The PE1–PE2 interface is ge-5/0/0 with IP address 20.1.1.1/24
-
On PE2:
- The PE2–CE2 interface is ge-0/2/0 with no IP address required
- The PE2–PE1 interface is ge-0/2/8 with IP address 20.1.1.10/24
- CE2 interface is ge-0/0/0 with IP address 30.1.1.10/24
![]() |
Note: These are not complete router configurations. |
Configuring PE2 with a Layer 2 Circuit
CE1 Configuation
Configure Ethernet over ATM on the ATM interface
- [edit]
- interfaces {
-
- at-2/0/0 {
- encapsulation ethernet-over-atm;
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- vci 100.34;
-
- family inet {
- address 30.1.1.1/24;
- }
- }
- }
- }
PE1 Configuation
Configure the Layer 2 Circuit
- [edit]
- interfaces {
-
- at-2/0/1 {
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- encapsulation vlan-vci-ccc;
- vpi 100;
- vci-range 32 63;
- }
- }
-
- ge-5/0/0 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.1/24;
- }
- family mpls;
- }
- }
-
- protocols {
-
- mpls {
- interface ge-5/0/0.0;
- }
-
- ospf {
-
- area 0.0.0.0 {
- interface ge-5/0/0.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
-
- ldp {
- interface all;
- }
-
- l2circuit {
-
- neighbor 10.255.171.14 {
-
- interface at-2/0/1.0 {
- virtual-circuit-id 100;
- }
- }
- }
- }
PE2 Configuation
Configure the Layer 2 Circuit on the MX Series Router
- [edit]
- interfaces {
-
- ge-0/2/0 {
- vlan-vci-tagging;
- encapsulation vlan-vci-ccc;
-
- unit 0 {
- vlan-id 100;
- inner-vlan-id-range start 32 end 63;
- }
- }
-
- ge-0/2/8 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.10/24;
- }
- family mpls;
- }
- }
-
- protocols {
-
- mpls {
- interface ge-0/2/8.0;
- }
-
- ospf {
-
- area 0.0.0.0 {
- interface ge-0/2/8.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
-
- ldp {
- interface all;
- }
-
- l2circuit {
-
- neighbor 10.255.171.45 {
-
- interface ge-0/2/0.0 {
- virtual-circuit-id 100;
- }
- }
- }
- }
CE2 Configuation
Configure Dual Tagged Ethernet Interface
- [edit]
- interfaces {
-
- ge-0/0/0 {
- flexible-vlan-tagging;
- encapsulation flexible-ethernet-services;
-
- unit 0 {
- vlan-tags outer 100 inner 34;
-
- family inet {
- address
- 30.1.1.10/24;
- }
- }
- }
- }
You verify your configuration on the MX Series router with the show l2circuit connections command:
user@PE2>show l2circuit connectionsLayer-2 Circuit Connections:
Legend for connection status (St)
EI -- encapsulation invalid NP -- interface h/w not present
MM -- mtu mismatch Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
CM -- control-word mismatch Up -- operational
VM -- vlan id mismatch CF -- Call admission control failure
OL -- no outgoing label IB -- TDM incompatible bitrate
NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration
BK -- Backup Connection ST -- Standby Connection
CB -- rcvd cell-bundle size bad XX -- unknown
SP -- Static Pseudowire
Legend for interface status
Up -- operational
Dn -- down
Neighbor: 10.255.171.45
Interface Type St Time last up # Up trans
ge-0/2/0.0(vc 100) rmt Up May 12 13:01:50 2009 1
Remote PE: 10.255.171.45, Negotiated control-word: Yes (Null)
Incoming label: 299824, Outgoing label: 299776
Local interface: ge-0/2/0.0, Status: Up, Encapsulation: VLAN Q-in-Q and VCI InterworkingConfiguring PE2 with a Layer 2 Circuit over Aggregated Ethernet
CE1 Configuation
Configure Ethernet over ATM on the ATM interface
- [edit]
- interfaces {
-
- at-2/0/0 {
- encapsulation ethernet-over-atm;
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- vci 100.34;
-
- family inet {
- address 30.1.1.1/24;
- }
- }
- }
- }
PE1 Configuation
Configure the Layer 2 Circuit
- [edit]
- interfaces {
-
- at-2/0/1 {
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- encapsulation vlan-vci-ccc;
- vpi 100;
- vci-range 32 63;
- }
- }
-
- ge-5/0/0 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.1/24;
- }
- family mpls;
- }
- }
-
- protocols {
-
- mpls {
- interface ge-5/0/0.0;
- }
-
- ospf {
-
- area 0.0.0.0 {
- interface ge-5/0/0.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
-
- ldp {
- interface all;
- }
-
- l2circuit {
-
- neighbor 10.255.171.14 {
-
- interface at-2/0/1.0 {
- virtual-circuit-id 100;
- }
- }
- }
- }
PE2 Configuation
Configure the Layer 2 Circuit over Aggregated Ethernet on the MX Series Router
- [edit]
- chassis {
-
- aggregated-devices {
-
- ethernet {
- device-count 1;
- }
- }
-
- interfaces {
-
- ge-0/2/0 {
-
- gigether-options {
- 802.3ad ae0;
- }
- }
-
- ge-0/2/8 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.10/24;
- }
- family mpls;
-
- ae0 {
- vlan-vci-tagging;
- encapsulation vlan-vci-ccc;
-
- unit 0 {
- vlan-id 100;
- inner-vlan-id-range start 32 end 63;
- }
- }
- }
-
- protocols {
-
- mpls {
- interface ge-0/2/8.0;
- }
-
- ospf {
-
- area 0.0.0.0 {
- interface ge-0/2/8.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
-
- ldp {
- interface all;
- }
-
- l2circuit {
-
- neighbor 10.255.171.45 {
-
- interface ae0.0 {
- virtual-circuit-id 100;
- }
- }
- }
- }
CE2 Configuation
Configure Dual Tagged Ethernet Interface
- [edit]
- interfaces {
-
- ge-0/0/0 {
- flexible-vlan-tagging;
- encapsulation flexible-ethernet-services;
-
- unit 0 {
- vlan-tags outer 100 inner 34;
-
- family inet {
- address
- 30.1.1.10/24;
- }
- }
- }
- }
You verify your configuration on the MX Series router with the show l2circuit connections command:
user@PE2>show l2circuit connectionsLayer-2 Circuit Connections:
Legend for connection status (St)
EI -- encapsulation invalid NP -- interface h/w not present
MM -- mtu mismatch Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
CM -- control-word mismatch Up -- operational
VM -- vlan id mismatch CF -- Call admission control failure
OL -- no outgoing label IB -- TDM incompatible bitrate
NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration
BK -- Backup Connection ST -- Standby Connection
CB -- rcvd cell-bundle size bad XX -- unknown
SP -- Static Pseudowire
Legend for interface status
Up -- operational
Dn -- down
Neighbor: 10.255.171.45
Interface Type St Time last up # Up trans
ae0.0(vc 100) rmt Up May 12 14:48:58 2009 2
Remote PE: 10.255.171.45, Negotiated control-word: Yes (Null)
Incoming label: 299872, Outgoing label: 299824
Local interface: ae0.0, Status: Up, Encapsulation:VLAN Q-in-Q and VCI InterworkingConfiguring PE2 with a Remote Interface Switch
CE1 Configuation
Configure Ethernet over ATM on the ATM interface
- [edit]
- interfaces {
-
- at-2/0/0 {
- encapsulation ethernet-over-atm;
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- vci 100.34;
-
- family inet {
- address 30.1.1.1/24;
- }
- }
- }
- }
PE1 Configuation
Configure the Remote Interface Switch
- [edit]
- interfaces {
-
- at-2/0/1 {
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- encapsulation vlan-vci-ccc;
- vpi 100;
- vci-range start 32 end 63;
- }
- }
-
- ge-5/0/0 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.1/24;
- }
- family iso;
- family mpls;
- }
- }
-
- protocols {
-
- rsvp {
- interface ge-5/0/0.0;
- }
-
- mpls {
-
- label-switched-path lsp1-2 {
- from 10.255.171.45;
- to 10.255.171.14;
- }
-
- label-switched-path lsp2-1 {
- from 10.255.171.14;
- to 10.255.171.45;
- }
- interface ge-5/0/0.0;
- }
-
- isis {
- interface ge-5/0/0.0;
- }
-
- connections {
-
- remote-interface-switch rws1 {
- interface at-2/0/1.0;
- transmit-lsp lsp1-2;
- receive-lsp lsp2-1;
- }
- }
- }
PE2 Configuation
Configure the Remote Interface Switch on the MX Series Router
- [edit]
- interfaces {
-
- ge-0/2/0 {
- vlan-vci-tagging;
- encapsulation vlan-vci-ccc;
-
- unit 0 {
- vlan-id 100;
- inner-vlan-id-range start 32 end 63;
- }
- }
-
- ge-0/2/8 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.10/24;
- }
- family iso;
- family mpls;
- }
- }
-
- protocols {
-
- rsvp {
- interface ge-0/2/8.0;
- }
-
- mpls {
-
- label-switched-path lsp2-1 {
- from 10.255.171.14;
- to 10.255.171.45;
- }
-
- label-switched-path lsp1-2 {
- from 10.255.171.45;
- to 10.255.171.14;
- }
- interface ge-0/2/8.0;
- }
-
- isis {
- interface ge-0/2/8.0;
- }
-
- connections {
-
- remote-interface-switch rws1 {
- interface ge-0/2/0.0;
- transmit-lsp lsp2-1;
- receive-lsp lsp1-2;
- }
- }
- }
CE2 Configuation
Configure Dual Tagged Ethernet Interface
- [edit]
- interfaces {
-
- ge-0/0/0 {
- flexible-vlan-tagging;
- encapsulation flexible-ethernet-services;
-
- unit 0 {
- vlan-tags outer 100 inner 34;
-
- family inet {
- address
- 30.1.1.10/24;
- }
- }
- }
- }
You verify your configuration on the MX Series router with the show connections command:
user@PE2>show connectionsCCC and TCC connections [Link Monitoring On]
Legend for status (St) Legend for connection types
UN -- uninitialized if-sw: interface switching
NP -- not present rmt-if: remote interface switching
WE -- wrong encapsulation lsp-sw: LSP switching
DS -- disabled tx-p2mp-sw: transmit P2MP switching
Dn -- down rx-p2mp-sw: receive P2MP switching
-> -- only outbound conn is up
<- -- only inbound conn is up Legend for circuit types
Up -- operational intf -- interface
RmtDn -- remote CCC down tlsp -- transmit LSP
Restart -- restarting rlsp -- receive LSP
Connection/Circuit Type St Time last up # Up trans
rws1 rmt-if Up May 13 11:25:40 1
ge-0/2/0.0 intf Up
lsp2-1 tlsp Up
lsp1-2 rlsp UpConfiguring PE2 with a Remote Interface Switch over Aggregated Ethernet
CE1 Configuation
Configure Ethernet over ATM on the ATM interface
- [edit]
- interfaces {
-
- at-2/0/0 {
- encapsulation ethernet-over-atm;
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- vci 100.34;
-
- family inet {
- address 30.1.1.1/24;
- }
- }
- }
- }
PE1 Configuation
Configure the Remote Interface Switch
- [edit]
- interfaces {
-
- at-2/0/1 {
-
- atm-options {
- vpi 100;
- }
-
- unit 0 {
- encapsulation vlan-vci-ccc;
- vpi 100;
- vci-range start 32 end 63;
- }
- }
-
- ge-5/0/0 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.1/24;
- }
- family iso;
- family mpls;
- }
- }
-
- protocols {
-
- rsvp {
- interface ge-5/0/0.0;
- }
-
- mpls {
-
- label-switched-path lsp1-2 {
- from 10.255.171.45;
- to 10.255.171.14;
- }
-
- label-switched-path lsp2-1 {
- from 10.255.171.14;
- to 10.255.171.45;
- }
- interface ge-5/0/0.0;
- }
-
- isis {
- interface ge-5/0/0.0;
- }
-
- connections {
-
- remote-interface-switch rws1 {
- interface at-2/0/1.0;
- transmit-lsp lsp1-2;
- receive-lsp lsp2-1;
- }
- }
- }
PE2 Configuation
Configure the Remote Interface Switch over aggregated Ethernet on the MX Series Router
- [edit]
- chassis {
-
- aggregated-devices {
-
- ethernet {
- device-count 1;
- }
- }
-
- interfaces {
-
- ge-0/2/0 {
-
- gigether-options {
- 802.3ad ae0;
- }
- }
-
- ge-0/2/8 {
-
- unit 0 {
-
- family inet {
- address 20.1.1.10/24;
- }
- family iso;
- family mpls;
- }
- }
-
- ae0 {
- vlan-vci-tagging;
- encapsulation vlan-vci-ccc;
-
- unit 0 {
- vlan-id 100;
- inner-vlan-id-range start 32 end 63;
- }
- }
- }
-
- protocols {
-
- rsvp {
- interface ge-0/2/8.0;
- }
-
- mpls {
-
- label-switched-path lsp2-1 {
- from 10.255.171.14;
- to 10.255.171.45;
- }
-
- label-switched-path lsp1-2 {
- from 10.255.171.45;
- to 10.255.171.14;
- }
- interface ge-0/2/8.0;
- }
-
- isis {
- interface ge-0/2/8.0;
- }
-
- connections {
-
- remote-interface-switch rws1 {
- interface ae0.0;
- transmit-lsp lsp2-1;
- receive-lsp lsp1-2;
- }
- }
- }
CE2 Configuation
Configure Dual Tagged Ethernet Interface
- [edit]
- interfaces {
-
- ge-0/0/0 {
- flexible-vlan-tagging;
- encapsulation flexible-ethernet-services;
-
- unit 0 {
- vlan-tags outer 100 inner 34;
-
- family inet {
- address
- 30.1.1.10/24;
- }
- }
- }
- }
You verify your configuration on the MX Series router with the show connections command:
user@PE2>show connectionsCCC and TCC connections [Link Monitoring On]
Legend for status (St) Legend for connection types
UN -- uninitialized if-sw: interface switching
NP -- not present rmt-if: remote interface switching
WE -- wrong encapsulation lsp-sw: LSP switching
DS -- disabled tx-p2mp-sw: transmit P2MP switching
Dn -- down rx-p2mp-sw: receive P2MP switching
-> -- only outbound conn is up
<- -- only inbound conn is up Legend for circuit types
Up -- operational intf -- interface
RmtDn -- remote CCC down tlsp -- transmit LSP
Restart -- restarting rlsp -- receive LSP
Connection/Circuit Type St Time last up # Up trans
rws1 rmt-if RmtDn May 12 15:34:46 1
ae0.0 intf Up
lsp2-1 tlsp Up
lsp1-2 rlsp Up


