Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MPLS and H-VPLS (Rev. 03)
Multiprotocol Label Switching
© 2008 Foundry Networks, Inc
Page 65 of 113
DeviceA
(config)#
mpls lsr-id 2.2.2.2
6. Enable and configure LDP protocol:
DeviceA
(config)#
router ldp
DeviceA
(config-router)#
transport-address 2.2.2.2
DeviceA
(config-router)#
targeted-peer 1.1.1.1
DeviceA
(config-router-peer 1.1.1.1)#
exit
DeviceA
(config-router)#
exit
7. Enable RSVP protocol and configure the LSP(s):
DeviceA
(config)#
router rsvp
DeviceA
(config-router)#
exit
DeviceA
(config)#
mpls lsp lsp-1
DeviceA
(config-lsp-lsp-1)#
path p1
DeviceA
(config-tunnel-path)#
hop 11.0.0.1 strict
DeviceA
(config-tunnel-path)#
exit
DeviceA
(config-lsp-lsp-1)#
ingress-lsr-id 2.2.2.2
DeviceA
(config-lsp-lsp-1)#
egress-lsr-id 1.1.1.1
DeviceA
(config-lsp-lsp-1)#
exit
8. Set VPLS mode and define VPLS instance “12”:
DeviceA
(config)#
vpls mode unqualified
DeviceA
(config)#
vpls 12
DeviceA
(config-vpls 12)#
def-vc-id 10
DeviceA
(config-vpls 12)#
sap 1/1/1
DeviceA
(config-vpls 12)#
spoke-sdp ldp-peer 1.1.1.1 lsp lsp-1
DeviceA
(config-vpls 12)#
exit
DeviceA
(config)#
exit
Device B Configuration
1. Create interface sw2 and VLAN v12:
DeviceB
#
configure terminal
DeviceB
(config)#
interface sw2
DeviceB
(config-if sw2)#
ip address 12.0.0.2/8
DeviceB
(config-if sw2)#
mpls rsvp
DeviceB
(config-if sw2)#
exit
DeviceB
(config)#
vlan
DeviceB
(config vlan)#
create v12 12
DeviceB
(config vlan)#
config v12
DeviceB
(config-vlan v12)#
add ports 1/1/27 untagged
DeviceB
(config-vlan v12)#
add ports default 1/1/27
DeviceB
(config-vlan v12)#
rif sw2
DeviceB
(config-vlan v12)#
exit
2. Remove uplink from the default VLAN:
DeviceB
(config vlan)#
config default
DeviceB
(config-vlan default)#
remove ports 1/1/27
DeviceB
(config-vlan default)#
exit
DeviceB
(config vlan)#
exit
3. Create virtual loopback interface lo1:
DeviceB
(config)#
interface lo1
DeviceB
(config-if lo1)#
ip address 3.3.3.3/32
DeviceB
(config-if lo1)#
exit