beautypg.com

Router r1 – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 580

background image

556

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

53-1003031-02

Sample MPLS VLL configuration

4

In this example, routers R1 and R3 are Provider Edge (PE) routers configured as VLL peers. R1 and
R3 have established an LDP session to exchange VLL label information. When the LDP session is
established, each router advertises its locally assigned VC label and VC ID to its VLL peer.

RSVP-signalled (tunnel) LSPs have been established in each direction between the two routers.
When the CE device forwards a Layer 2 packet to R1, the router assigns the packet to an
RSVP-signalled LSP whose destination is R3. R1 encapsulates the packet as an MPLS packet,
adding a tunnel label and the VC label advertised to the router by R3. The MPLS packet is then
forwarded over the outbound interface indicated by the tunnel label to the next hop in the LSP.

When the MPLS packet reaches R2, the penultimate LSR in the tunnel LSP, R2 pops the tunnel
label, leaving the packet with only the VC label, then forwards the packet to R3.

R3 examines the VC label in the packet. On R3, the VC label is mapped to the user-specified
endpoint for the VLL. In this example, the endpoint consists of VLAN ID 200 and interface 3/11. R3
then pops the VC label, tags the Layer 2 packet with VLAN 200, then forwards the packet out
interface 3/11.

In the opposite direction, R3 assigns traffic received from the CE device to an RSVP-signalled LSP
destined for R1, pushes tunnel and VC labels onto the packets, and forwards them to the next hop
in LSP. When the packets reach R1, the router pops the VC label and forwards the Layer 2 packets
out the interface indicated by the VLL endpoint. In this example, the endpoint consists of interface
1/3, so the packets are forwarded untagged out interface 1/3 to the CE device.

Router R1

The following commands configure Router R1 in

Figure

60

.

Brocade(config)# ip router-id 192.168.2.100

Brocade(config)# router ospf

Brocade(config-ospf-router)# area 0

Brocade(config-ospf-router)# exit

Brocade(config)# router mpls

Brocade(config-mpls)# mpls-interface e 2/1

Brocade(config-mpls)# policy

Brocade(config-mpls-policy)# traffic-engineering ospf

Brocade(config-mpls-policy)# exit

Brocade(config-mpls)# lsp Tunnel_To_R3

Brocade(config-mpls-lsp)# to 192.168.2.102

Brocade(config-mpls-lsp)# enable

Brocade(config-mpls-lsp)# exit

Brocade(config-mpls)# vll VLL_to_R3 40000

Brocade(config-mpls-vll)# vll-peer 192.168.2.102

Brocade(config-mpls-vll)# untagged e 1/3

Brocade(config-mpls-vll)# exit

Brocade(config)# interface loopback 1

Brocade(config-lbif-1)# port-name Generic All-Purpose Loopback

Brocade(config-lbif-1)# ip address 192.168.2.100/32

Brocade(config-lbif-1)# ip ospf area 0

Brocade(config-lbif-1)# exit

Brocade(config)# interface e 1/3

Brocade(config-if-e100-1/3)# port-name VLL_endpoint

Brocade(config-if-e100-1/3)# enable

Brocade(config-if-e100-1/3)# exit