412
1.1.1.1 30 65779/65650 LDP M 1 Up
# Execute the
display l2vpn pw bfd
command on PE 1 and PE 2. The output shows that a BFD
session in up state has been established between PE 1 and PE 2 to verify the PW connectivity
between 1.1.1.1/32 and 3.3.3.3/32. Take PE 1 as an example:
[PE1] display l2vpn pw bfd
Total number of sessions: 1, 1 up, 0 down, 0 init
FEC Type: PW FEC-128
FEC Info:
Peer IP: 3.3.3.3
PW ID: 3
Connection ID: 2147483648 Link ID: 1
Local Discr: 514 Remote Discr: 514
Source IP: 1.1.1.1 Destination IP: 127.0.0.2
Session State: Up Session Role: Active
Template Name: -
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
# Shut down the PW between PE 1 and PE 2. Execute the
display l2vpn pw bfd
command. The
output shows that the BFD session becomes down.
[PE1] display l2vpn pw bfd
Total number of sessions: 1, 0 up, 1 down, 0 init
FEC Type: PW FEC-128
FEC Info:
Peer IP: 3.3.3.3
PW ID: 3
Connection ID: 2147483648 Link ID: 1
Local Discr: 514 Remote Discr: 514
Source IP: 1.1.1.1 Destination IP: 127.0.0.2
Session State: Down Session Role: Active
Template Name: -
# Display L2VPN PW information on PE 1. The output shows that backup PW is in use.
<PE1> display l2vpn pw
Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 2, 1 up, 0 blocked, 0 down, 1 defect
Xconnect-group Name: vpna
Peer PW ID In/Out Label Proto Flag Link ID State
2.2.2.2 20 65651/65779 LDP M 1 BFD Defect
3.3.3.3 30 65650/65779 LDP B 1 Up
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)