AToM

Frame-Relay to VLAN Interworking – AToM

Consider the topology below.

frame-vlan

Watch the video below or download and watch it on your ipod or iphone.

The Flash plugin is required to view this object.

The commands used in the above video can be found below.
PE1
!
hostname PE1
!
frame-relay switching
!
mpls ldp router-id Loopback0 force
mpls label protocol ldp
!
pseudowire-class ZARAR
encapsulation mpls
interworking ip
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet1/0
ip address 10.0.0.1 255.255.255.252
mpls ip
!
interface Serial2/0
no ip address
encapsulation frame-relay
clockrate 128000
frame-relay interface-dlci 110 switched
frame-relay intf-type dce
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
connect ISMAIL Serial2/0 110 l2transport
xconnect 3.3.3.3 101 pw-class ZARAR
!

PE2
!
hostname PE2
!
frame-relay switching
!
mpls ldp router-id Loopback0 force
mpls label range 500 600
mpls label protocol ldp
!
pseudowire-class ZARAR
encapsulation mpls
interworking ip
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet1/0
ip address 10.0.0.6 255.255.255.252
mpls ip
!
interface FastEthernet1/1
xconnect 1.1.1.1 101 pw-class ZARAR
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!

CE1
!
hostname CE1
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Serial0
ip address 11.0.0.1 255.255.255.252
encapsulation frame-relay
ip ospf network point-to-point
frame-relay map ip 11.0.0.2 110 broadcast
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!

CE2
!
hostname CE2
!
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
!
hostname CE2
!
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0
ip address 11.0.0.2 255.255.255.252
ip ospf network point-to-point
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!

MPLS AToM – Pseodowires

MPLS AToM is very different to L2TP in that it does not utlize an IP header in anyway to carry data accross an MPLS network.

AToM uses LDP extended discovery ie targeted hellos to establish an LDP session with a non-directly connected neighbor.

Lets examine the topology below.

To setup a AToM circuit using the configuration below.

R1

pseudowire-class ZARAR-AToM
encapsulation mpls

interface FastEthernet1/1.1
encapsulation dot1Q 10
xconnect 3.3.3.3 10 pw-class ZARAR-AToM

R3

pseudowire-class ZARAR-AToM
encapsulation mpls

interface FastEthernet1/1.1
encapsulation dot1Q 10
xconnect 1.1.1.1 10 pw-class ZARAR-AToM

When you configure the xconnect it triggers an LDP extended discovery.  A unicast LDP targetted hello is sent from R1 to R3.  When R3 responds an LDP TCP session is then setup between R1 and R3.  you can see the details of the session using the command below.

R1#show mpls ldp neighbor
Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 1.1.1.1:0
TCP connection: 2.2.2.2.21278 - 1.1.1.1.646
State: Oper; Msgs sent/rcvd: 37/38; Downstream
Up time: 00:26:31
LDP discovery sources:
FastEthernet1/0, Src IP addr: 10.0.0.2
Addresses bound to peer LDP Ident:
10.0.0.2        10.0.0.5        2.2.2.2
Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 1.1.1.1:0
TCP connection: 3.3.3.3.39795 - 1.1.1.1.646
State: Oper; Msgs sent/rcvd: 32/32; Downstream
Up time: 00:20:18
LDP discovery sources:
Targeted Hello 1.1.1.1 -> 3.3.3.3, active, passive
Addresses bound to peer LDP Ident:
10.0.0.6        3.3.3.3

As you can see R1 has 2 neighbors, R2 and R3.  Looking at the detail for neighbor 3.3.3.3 you can see it was established using an LDP targeted hello.

Traffic forwarding

When ethernet frames are received from CE1, they are double tagged as follows.

The inner tag or bottom tag is associated with the pseodowire itself.  Looking at the mpls forwarding table this will be 19.

R1#show mpls forwarding-table
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop
Label  Label or VC   or Tunnel Id      Switched      interface
16     Pop Label     2.2.2.2/32        0             Fa1/0      10.0.0.2
17     17            3.3.3.3/32        0             Fa1/0      10.0.0.2
18     Pop Label     10.0.0.4/30       0             Fa1/0      10.0.0.2
19     No Label      l2ckt(10)         48090         none       point2point

The outer tag or the tag used to switch the mpls frame to its final destination is the tag associated with the loopback addresses of the remote PE so in this case a label of 17 is stacked on top of the AToM label.

The traffic is then label switched using the outer label to the final destination ie R3.

Click here to see a packet capture for traffic forwarded using AToM