OcNOS-SP : Layer 2 Guide : Layer 2 Configuration Guide : PW Redundancy with MLAG Configuration : VPWS PW Redundancy Configuration
VPWS PW Redundancy Configuration
PE1
 
#configure terminal
Enter configure mode.
(config)#service-template S-00-00-10
Configure service template (translate)
(config-svc)# match outer-vlan 10
Configure match
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q
Configure rewrite action
(config-svc)#exit
Exit service template
(config)# mpls l2-circuit VC1 1001 32.32.32.32
Configure VPWS to PE5
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#int po1
Enter interface mode
(config-if)#mpls-l2-circuit VC1 service-template S-00-00-10
Attach VPWS to AC interface.
(config-if)#exit
Exit interface
PE2
 
#configure terminal
Enter configure mode.
(config)#service-template S-00-00-10
Configure service template (translate)
(config-svc)# match outer-vlan 10
Configure match
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q
Configure rewrite action
(config-svc)#exit
Exit service template
(config)# mpls l2-circuit VC2 1002 32.32.32.32
Configure VPWS to PE5
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#int po1
Enter interface mode
(config-if)#mpls-l2-circuit VC2 service-template S-00-00-10
Attach VPWS to AC interface.
(config-if)#exit
Exit interface
 
PE5
 
#configure terminal
Enter configure mode.
(config)#service-template S-00-00-10
Configure service template (translate)
(config-svc)# match outer-vlan 10
Configure match
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q
Configure rewrite action
(config-svc)#exit
Exit service template
(config)# mpls l2-circuit VC1 1001 35.35.35.35
Configure VPWS to PE1
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)# mpls l2-circuit VC2 1002 33.33.33.33
Configure VPWS to PE2
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#int xe8
Enter interface mode
(config-if)# switchport
Switch to Layer 2 mode.
(config-if)#mpls-l2-circuit VC1 service-template S-00-00-10
Attach Primary VPWS to AC interface.
(config-if)# mpls-l2-circuit VC2 service-template S-00-00-10 secondary
Attach Secondary VPWS to AC interface.
(config-if)#exit
Exit interface
 
Validation
To see detail information about the MLAG, use the following command:
MLAG Active node:
PE1#show mlag domain details
 
------------------------------------
Domain Configuration
------------------------------------
 
Domain System Number : 1
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : xe12
 
Hello RCV State : Current
Hello Periodic Timer State : Slow Periodic
Domain Sync : IN_SYNC
Neigh Domain Sync : IN_SYNC
Domain Adjacency : UP
 
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator : po1
Admin Key : 16385
Oper Key : 16385
Physical properties Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
 
Neigh Admin Key : 32769
Neigh Physical Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
Info RCV State : Current
Info Periodic Time State : Standby
Mlag Sync : IN_SYNC
Mode : Active-Standby
Current Mlag state : Active
 
 
MLAG Standby node:
 
PE2#show mlag domain details
 
------------------------------------
Domain Configuration
------------------------------------
 
Domain System Number : 2
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : xe12
 
Hello RCV State : Current
Hello Periodic Timer State : Slow Periodic
Domain Sync : IN_SYNC
Neigh Domain Sync : IN_SYNC
Domain Adjacency : UP
 
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator : po1
Admin Key : 32769
Oper Key : 32769
Physical properties Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
 
Neigh Admin Key : 16385
Neigh Physical Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
Info RCV State : Current
Info Periodic Time State : Standby
Mlag Sync : IN_SYNC
Mode : Active-Standby
Current Mlag state : Standby
 
To see summary information about the MLAG, use the following command:
MLAG active node:
PE1#show mlag domain summary
 
------------------------------------
Domain Configuration
------------------------------------
 
Domain System Number : 2
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : xe12
Domain Adjacency : UP
Domain Sync via : Intra-domain-interface
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator : po1
Physical properties Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
Total Bandwidth : 20g
Mlag Sync : IN_SYNC
Mode : Active-Standby
Current Mlag state : Active
 
MLAG Standby node:
PE2#show mlag domain summary
 
------------------------------------
Domain Configuration
------------------------------------
 
Domain System Number : 1
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : xe12
Domain Adjacency : UP
Domain Sync via : Intra-domain-interface
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator : po1
Physical properties Digest : 89 25 47 22 f1 47 6d 92 b8 71 9c ca 61 fb db 3a
Total Bandwidth : 20g
Mlag Sync : IN_SYNC
Mode : Active-Standby
Current Mlag state : Standby
 
To see summary information about the Virtual Circuits, use the following command:
#show mpls vc-table
The samples below show summary information about the just-configured four virtual circuits.
PE1#show mpls vc-table
VC-ID Vlan-ID Inner-Vlan-ID Access-Intf Network-Intf Out Label Tunnel-Label Nexthop Status
1001 N/A N/A po1 xe14 24960 24324 32.32.32.32 Active
PE1#
 
PE2#show mpls vc-table
VC-ID Vlan-ID Inner-Vlan-ID Access-Intf Network-Intf Out Label Tunnel-Label Nexthop Status
1002 N/A N/A po1 xe14 24961 24323 32.32.32.32 Inactive
PE2#
 
PE5#show mpls vc-table
VC-ID Vlan-ID Inner-Vlan-ID Access-Intf Network-Intf Out Label Tunnel-Label Nexthop Status
1001 N/A N/A xe23 xe12 24986 24322 35.35.35.35 Active
1002 N/A N/A xe23 xe12 24968 24320 33.33.33.33 Inactive
PE5#
 
 
To view detailed configuration information about the L2 Virtual Circuits, including LDP PW status, use the following
command:
PE1#show ldp mpls-l2-circuit 1001 detail
vcid: 1001 type: vlan, local groupid: 0, remote groupid: 0 (vc is up)
destination: 32.32.32.32, Peer LDP Ident: 32.32.32.32
Local label: 24986, remote label: 24960
Access IF: po1, Network IF: xe13
Local MTU: 9100, Remote MTU: 9100
Local Control Word: disabled Remote Control Word: Not-Applicable 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
 
PE2#show ldp mpls-l2-circuit 1002 detail
vcid: 1002 type: vlan, local groupid: 0, remote groupid: 0 (vc is up)
destination: 32.32.32.32, Peer LDP Ident: 32.32.32.32
Local label: 24968, remote label: 24961
Access IF: po1, Network IF: xe14
Local MTU: 9100, Remote MTU: 9100
Local Control Word: disabled Remote Control Word: Not-Applicable Current use: disabled
Local PW Status Capability : enabled
Remote PW Status Capability : enabled
Current PW Status TLV : enabled
Local PW Status :
Not Forwarding
Ingress AC Receive Fault
Egress AC Transmit Fault
Remote PW Status :
Not Forwarding
Standby
 
PE5#show ldp mpls-l2-circuit 1001 detail
vcid: 1001 type: vlan, local groupid: 0, remote groupid: 0 (vc is up)
destination: 35.35.35.35, Peer LDP Ident: 35.35.35.35
Local label: 24960, remote label: 24986
Access IF: xe23, Network IF: xe14
Local MTU: 9100, Remote MTU: 9100
Local Control Word: disabled Remote Control Word: Not-Applicable 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
 
PE5#show ldp mpls-l2-circuit 1002 detail
vcid: 1002 type: vlan, local groupid: 0, remote groupid: 0 (vc is up)
destination: 33.33.33.33, Peer LDP Ident: 33.33.33.33
Local label: 24961, remote label: 24968
Access IF: xe23, Network IF: xe12
Local MTU: 9100, Remote MTU: 9100
Local Control Word: disabled Remote Control Word: Not-Applicable Current use: disabled
Local PW Status Capability : enabled
Remote PW Status Capability : enabled
Current PW Status TLV : enabled
Local PW Status :
Not Forwarding
Standby
Remote PW Status :
Not Forwarding
Ingress AC Receive Fault
Egress AC Transmit Fault
 
Last modified date: 10/12/2023