OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : PW Redundancy Configuration : Multi-Homed CE with PW Redundancy for VLAN PW
Multi-Homed CE with PW Redundancy for VLAN PW
In the following topology diagram, VLAN pseudowires PW1, PW2, PW3 and PW4 are configured for VLAN-100 between PE1-PE3, PE1-PE4, PE2-PE3 and PE2-PE4 respectively. The VC-mode is configured as standby on the access interfaces of PE2 and PE4 so that PW1 is active and used for forwarding. All the other PWs will be in standby mode.
Figure 10-3: Multi-Homed CE with PW Redundancy for VLAN PW
PE1
 
#configure terminal
Enter Configure mode for the router.
(config)#router ldp
Enter Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#targeted-peer ipv4 3.3.3.3
Configure targeted LDP session to PE3 loopback address.
(config-router)#targeted-peer ipv4 4.4.4.4
Configure targeted LDP session to PE4 loopback address.
(config-router)#exit
Exit the Router LDP mode and return to Configure mode.
(config)#mpls l2-circuit pw1 10 3.3.3.3
Configure pseudowire PW1 between PE1 and PE3.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit pw2 20 4.4.4.4
Configure pseudowire PW2 between PE1 and PE4.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#bridge 1 protocol ieee vlan-bridge
Specify the VLAN for bridge 1.
(config)#vlan database
Enter the VLAN Database mode.
(config-vlan)#vlan 100 bridge 1
Configure VLAN 100.
(config-vlan)#exit
Exit the VLAN Database mode and return to Configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this interface to access mode.
(config-if)#mpls-l2-circuit pw1 vlan 100
Bind the pseudowire PW1 to access interface.
(config-if)#mpls-l2-circuit pw2 vlan 100
Bind the pseudowire PW2 to access interface.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit the Configure mode.
PE2
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#targeted-peer ipv4 3.3.3.3
Configure targeted LDP session to PE3 loopback address.
(config-router)#targeted-peer ipv4 4.4.4.4
Configure targeted LDP session to PE4 loopback address.
(config-router)#exit
Exit the Router LDP mode and return to Configure mode.
(config)#mpls l2-circuit pw3 30 3.3.3.3
Configure pseudowire PW3 between PE2 and PE3.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit pw4 40 4.4.4.4
Configure pseudowire PW4 between PE2 and PE4.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#bridge 1 protocol ieee vlan-bridge
Specify the VLAN for bridge 1.
(config)#vlan database
Enter the VLAN Database mode.
(config-vlan)#vlan 100 bridge 1
Configure VLAN 100.
(config-vlan)#exit
Exit the VLAN Database mode and return to Configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this Interface to Access mode.
(config-if)#mpls-l2-circuit pw3 vlan 100
Bind the pseudowire PW3 to access interface.
(config-if)#mpls-l2-circuit pw4 vlan 100
Bind the pseudowire PW4 to access interface.
(config-if)#vc-mode standby vlan 100
Configure VC-mode as standby for VLAN 100.
Note: The command for Ethernet PWs is vc-mode standby.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit the Configure mode.
PE3
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#targeted-peer ipv4 1.1.1.1
Configure targeted LDP session to PE1 loopback address.
(config-router)#targeted-peer ipv4 2.2.2.2
Configure targeted LDP session to PE2 loopback address.
(config-router)#exit
Exit the Router LDP mode and return to Configure mode.
(config)#mpls l2-circuit pw1 10 1.1.1.1
Configure pseudowire PW1 between PE3 and PE1.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit pw3 30 2.2.2.2
Configure pseudowire pw2 between PE3 and PE2.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#bridge 1 protocol ieee vlan-bridge
Specify the VLAN for bridge 1.
(config)#vlan database
Enter the VLAN Database mode.
(config-vlan)#vlan 100 bridge 1
Configure VLAN 100.
(config-vlan)#exit
Exit the VLAN Database mode and return to Configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this interface to access mode.
(config-if)#mpls-l2-circuit pw1 vlan 100
Bind the pseudowire PW1 to access interface.
(config-if)#mpls-l2-circuit pw3 vlan 100
Bind the pseudowire PW3 to access interface.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit the Configure mode.
PE4
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#targeted-peer ipv4 1.1.1.1
Configure targeted LDP session to PE1 loopback address.
(config-router)#targeted-peer ipv4 2.2.2.2
Configure targeted LDP session to PE2 loopback address.
(config-router)#exit
Exit the Router LDP mode and return to Configure mode.
(config)#mpls l2-circuit pw2 20 1.1.1.1
Configure pseudowire PW2 between PE4 and PE3.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit pw4 40 2.2.2.2
Configure pseudowire PW4 between PE4 and PE2.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#bridge 1 protocol ieee vlan-bridge
Specify the VLAN for bridge 1.
(config)#vlan database
Enter the VLAN Database mode.
(config-vlan)#vlan 100 bridge 1
Configure VLAN 100.
(config-vlan)#exit
Exit the VLAN Database mode and return to Configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this interface to access mode.
(config-if)#mpls-l2-circuit pw2 vlan 100
Bind the pseudowire PW2 to access interface.
(config-if)#mpls-l2-circuit pw4 vlan 100
Bind the pseudowire PW4 to access interface.
(config-if)#vc-mode standby vlan 100
Configure VC-mode as standby for VLAN 100.
Note: The command for Ethernet PWs is vc-mode standby.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit the Configure mode.
Remove VC-mode Standby Configuration
PE2
 
#configure terminal
Enter configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#no vc-mode standby vlan 100
Remove VC-mode standby for VLAN 100.
(config-if)#exit
Exit interface mode.
Validation
Verify the VPLS Session On DUT
PE1#show mpls vc-table
VC-ID Vlan-ID Access-Intf Network-Intf Out Label Tunnel-Label Nexthop Status
10 100 eth1 eth2 53121 3 3.3.3.3 Active
20 100 eth1 eth3 53121 3 4.4.4.4 Standby
PE1#show ldp mpls-l2-circuit detail
vcid: 10, type: ethernet, local groupid: 5, remote groupid: 5 (vc is up)
destination: 3.3.3.3, Peer LDP Ident: 3.3.3.3
Local label: 52481, remote label: 53121
Access IF: eth1, Network IF: eth2
Local MTU: 1500, Remote MTU: 1500
Local Control Word: disabled, Remote Control Word: disabled, Current use: disabled
Local PW Status Capability : enabled
Remote PW Status Capability : enabled
Current PW Status TLV : enabled
Local PW Status :
Forwarding
Active
Remote PW Status :
Forwarding
Active
 
vcid: 20, type: ethernet, local groupid: 5, remote groupid: 5 (vc is up)
destination: 4.4.4.4 , Peer LDP Ident: 4.4.4.4
Local label: 52480, remote label: 53121
Access IF: eth1, Network IF: eth3
Local MTU: 1500, Remote MTU: 1500
Local Control Word: disabled, Remote Control Word: disabled, Current use: disabled
Local PW Status Capability : enabled
Remote PW Status Capability : enabled
Current PW Status TLV : enabled
Local PW Status :
Not Forwarding
Remote PW Status :
Not Forwarding
Standby
Last modified date: 07-13-2023