R0106-HP MSR Router Series MPLS Command Reference(V7)
300
Examples
# In cross-connect PW view, set both the local and remote discriminator values to 1 for the BFD session
used to verify PW connectivity.
<Sysname> system-view
[Sysname] xconnect-group 1
[Sysname-xcg-1] connection 1
[Sysname-xcg-1-1] peer 22.22.2.2 pw-id 1 pw-class ttt
[Sysname-xcg-1-1-22.22.2.2-1] bfd discriminator local 1 remote 1
Related commands
• display l2vpn pw bfd
• mpls bfd enable
• vccv bfd
• vccv cc
display l2vpn pw bfd
Use display l2vpn pw bfd to display BFD information for PWs.
Syntax
display l2vpn pw bfd [ peer peer-ip pw-id pw-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
peer peer-ip pw-id pw-id: Specifies a PW. The peer-ip argument specifies the LSR ID of the peer PE of the
PW. The pw-id argument specifies the PW ID in the range of 1 to 4294967295. If you do not specify any
PW, the command displays BFD information for all PWs.
Examples
# Display BFD information for all PWs.
<Sysname> display l2vpn pw bfd
Total number of sessions: 1, 1 up, 0 down, 0 init
FEC Type: PW FEC-128
FEC Info:
Peer IP: 22.22.2.2
PW ID: 1
VSI Index: 0 Link ID: 8
Local Discr: 514 Remote Discr: 514
Source IP: 11.11.1.1 Destination IP: 127.0.0.2
Session State: Up Session Role: Active
Template Name: -