Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MPLS and H-VPLS (Rev. 03)
Multiprotocol Label Switching
© 2008 Foundry Networks, Inc
Page 68 of 113
Spoke
(config)#
vpls mode unqualified
Spoke
(config)#
vpls 12
Spoke
(config-vpls 12)#
def-vc-id 10
Spoke
(config-vpls 12)#
sap 1/1/1
Spoke
(config-vpls 12)#
spoke-sdp ldp-peer 2.2.2.2 lsp lsp-2
Spoke
(config-vpls 12)#
spoke-sdp backup ldp-peer 3.3.3.3 lsp lsp-3
Spoke
(config-vpls 12)#
exit
Spoke
(config)#
exit
Establishing two dynamic PWs between two HUBs and a Spoke
device (dual homing)
This example demonstrates unqualified configuration on the devices, using only LDP.
Figure 13: Establishing Two Dynamic PWs between Two HUBs and a Spoke Device (dual
homing)
Device A Configuration
1. Create interface sw1 and VLAN v11:
DeviceA
#
configure terminal
DeviceA
(config)#
interface sw1
DeviceA
(config-if sw1)#
ip address 11.0.0.2/8
DeviceA
(config-if sw1)#
mpls ldp
DeviceA
(config-if sw1)#
exit
DeviceA
(config)#
vlan
DeviceA
(config vlan)#
create v11 11
DeviceA
(config vlan)#
config v11
DeviceA
(config-vlan v11)#
add ports 1/1/27 untagged
DeviceA
(config-vlan v11)#
add ports default 1/1/27
DeviceA
(config-vlan v11)#
rif sw1
DeviceA
(config-vlan v11)#
exit
2. Remove uplink from the default VLAN:
DeviceA
(config vlan)#
config default
DeviceA
(config-vlan default)#
remove ports 1/1/27
DeviceA
(config-vlan default)#
exit
DeviceA
(config vlan)#
exit
3. Create virtual loopback interface lo1:
DeviceA
(config)#
interface lo1
DeviceA
(config-if lo1)#
ip address 2.2.2.2/32