The following examples show the status of the active and backup pseudowires before, during, and after a switchover.
The
show
mpls
l2transport
vc command on the active PE router displays the status of the pseudowires:
Router# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.2 100 UP
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.3 100 STANDBY
The
show
mpls
l2transport
vc command on the backup PE router displays the status of the pseudowires. The active pseudowire on the backup PE router has
the HOTSTANDBY status.
Router1-standby# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.2 100 HOTSTANDBY
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.3 100 DOWN
During a switchover, the status of the active and backup pseudowires changes:
Router# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.2 100 RECOVERING
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.3 100 DOWN
After the switchover is complete, the recovering pseudowire shows a status of UP:
Router# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.2 100 UP
AT0/2/0/0.1 ATM VPC CELL 50 10.1.1.3 100 STANDBY
The
show
xconnect command displays the standby (SB) state for the backup pseudowire, which is independent of the stateful switchover mode of
the router:
Router# show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+---------
UP pri ac AT1/1/0/0.1/1/1:220/220(ATM V UP mpls 10.193.193.3:330 UP
IA sec ac AT1/1/0/0.1/1/1:220/220(ATM V UP mpls 10.193.193.3:331 SB
The
ping
mpls and
traceroute
mpls commands show that the dataplane is active on the backup pseudowire:
Router# ping mpls pseudowire 10.193.193.22 331
%Total number of MS-PW segments is less than segment number; Adjusting the segment number to 1
Sending 5, 100-byte MPLS Echos to 10.193.193.22,
timeout is 2 seconds, send interval is 0 msec:
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Router# traceroute mpls pseudowire 10.193.193.22 331 segment 1
Tracing MS-PW segments within range [1-1] peer address 10.193.193.22 and timeout 2 seconds
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
! 1 10.193.33.22 4 ms [Labels: 23 Exp: 0]
local 10.193.193.3 remote 10.193.193.22 vc id 331