Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Example: Configuring MX Series Router ATM Ethernet Interworking

    Consider the router topology shown in Figure 1. The MX Series router is configured as the Router PE2 (the provider edge 2 router) in the figure to support the ATM Ethernet IWF.

    Figure 1: ATM Ethernet VLAN Interworking

    ATM Ethernet VLAN Interworking

    The relevant router interfaces are as follows:

    • On Router CE1, the CE1–PE1 interface is at-2/0/0 with IP address 30.1.1.1/24.
    • On Router 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 Router 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.
    • On Router CE2 interface is ge-0/0/0 with IP address 30.1.1.10/24.

    Note: The example configurations in this section are not complete configurations.

    Consider the following example MX Series router configurations.

    Configuring Router PE2 with a Layer 2 Circuit

    Router CE1 Configuration

    The configuration of the Layer 2 circuit is based on LDP-signaled MPLS connections.

    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;}}}}

    Router PE1 Configuration

    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;}}}}

    Router PE2 Configuration

    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;}}}}

    Router CE2 Configuration

    Configure the 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 {address30.1.1.10/24;}}}}

    You verify your configuration on the MX Series router with the show l2circuit connections command:

    user@PE2>show l2circuit connections
    Layer-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 Interworking

    Configuring Router PE2 with a Layer 2 Circuit over Aggregated Ethernet

    Router CE1 Configuration

    The configuration of the Layer 2 circuit is based on LDP-signaled MPLS connections.

    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;}}}}

    Router PE1 Configuration

    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;}}}}

    Router PE2 Configuration

    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;}}}}

    Router CE2 Configuration

    Configure the 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 {address30.1.1.10/24;}}}}

    You verify your configuration on the MX Series router with the show l2circuit connections command:

    user@PE2>show l2circuit connections
    Layer-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 Interworking

    Configuring Router PE2 with a Remote Interface Switch

    Router CE1 Configuration

    The configuration of the remote interface switch is based on RSVP-signaled MPLS connections.

    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;}}}}

    Router PE1 Configuration

    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;}}}

    Router PE2 Configuration

    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;}}}

    Router CE2 Configuration

    Configure the 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 {address30.1.1.10/24;}}}}

    You verify your configuration on the MX Series router with the show connections command:

    user@PE2>show connections
    CCC 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  Up

    Configuring Router PE2 with a Remote Interface Switch over Aggregated Ethernet

    Router CE1 Configuration

    The configuration of the remote interface switch is based on RSVP-signaled MPLS connections.

    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;}}}}

    Router PE1 Configuration

    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 32 end 63;}}ge-5/0/0 {unit 0 {family inet {address 20.1.1.1/24;}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;}}}}

    Router PE2 Configuration

    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/08.0;}isis {interface ge-02/08.0; {}connections {remote-interface-switch rwsl {interface ae0.0 {transmit-lsp- lsp-1sp2-1;receive-lsp lsp1-2;}}}

    Router CE2 Configuration

    Configure the 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 {address30.1.1.10/24;}}}}

    You verify your configuration on the MX Series router with the show connections command:

    user@PE2>show connections
    CCC 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
     

    Related Documentation

     

    Published: 2012-06-14