Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MPLS and H-VPLS (Rev. 03)
Multiprotocol Label Switching
© 2008 Foundry Networks, Inc
Page 66 of 113
4. Add static route to the Loopback interface of the Spoke device:
DeviceB
(config)#
ip route 1.1.1.1/32 12.0.0.1
5. Set the LSR-ID of the device:
DeviceB
(config)#
mpls lsr-id 3.3.3.3
6. Enable and configure LDP protocol:
DeviceB
(config)#
router ldp
DeviceB
(config-router)#
transport-address 3.3.3.3
DeviceB
(config-router)#
targeted-peer 1.1.1.1
DeviceB
(config-router-peer 1.1.1.1)#
exit
DeviceB
(config-router)#
exit
7. Enable RSVP protocol and configure the LSP(s):
DeviceB
(config)#
router rsvp
DeviceB
(config-router)#
exit
DeviceB
(config)#
mpls lsp lsp-1
DeviceB
(config-lsp-lsp-1)#
path p1
DeviceB
(config-tunnel-path)#
hop 12.0.0.1 strict
DeviceB
(config-tunnel-path)#
exit
DeviceB
(config-lsp-lsp-1)#
ingress-lsr-id 3.3.3.3
DeviceB
(config-lsp-lsp-1)#
egress-lsr-id 1.1.1.1
DeviceB
(config-lsp-lsp-1)#
exit
8. Set VPLS mode and define VPLS instance “12”:
DeviceB
(config)#
vpls mode unqualified
DeviceB
(config)#
vpls 12
DeviceB
(config-vpls 12)#
def-vc-id 10
DeviceB
(config-vpls 12)#
sap 1/1/1
DeviceB
(config-vpls 12)#
spoke-sdp ldp-peer 1.1.1.1 lsp lsp-1
DeviceB
(config-vpls 12)#
exit
DeviceB
(config)#
exit
Spoke Configuration
1. Create interface sw1 and VLAN v11:
Spoke
#
configure terminal
Spoke
(config)#
interface sw1
Spoke
(config-if sw1)#
ip address 11.0.0.1/8
Spoke
(config-if sw1)#
mpls rsvp
Spoke
(config-if sw1)#
exit
Spoke
(config)#
vlan
Spoke
(config vlan)#
create v11 11
Spoke
(config vlan)#
config v11
Spoke
(config-vlan v11)#
add ports 1/1/27 untagged
Spoke
(config-vlan v11)#
add ports default 1/1/27
Spoke
(config-vlan v11)#
rif sw1
Spoke
(config-vlan v11)#
exit
2. Create interface sw2 and VLAN v12:
Spoke
#
configure terminal
Spoke
(config)#
interface sw2
Spoke
(config-if sw2)#
ip address 12.0.0.1/8
Spoke
(config-if sw2)#
mpls rsvp
Spoke
(config-if sw2)#
exit
Spoke
(config)#
vlan