505
Step Command
Remarks
12.
(Optional.) Set the local and
remote discriminators for
the BFD session used to
verify the connectivity of the
backup PW.
bfd discriminator local
local-id
remote
remote-id
By default, no local and remote
discriminators are set.
Make sure the local discriminator
and remote discriminator
configured on the local PE are the
same as the remote discriminator
and local discriminator configured
on the remote PE, respectively.
Displaying MPLS OAM
Execute
display
commands in any view.
Task Command
Display BFD information for LSP
tunnels or MPLS TE tunnels.
display mpls bfd
[
ipv4
ipv4-address
mask-length
|
te tunnel
tunnel-number
]
Display BFD information for PWs.
display l2vpn pw bfd
[
peer
peer-ip
pw-id
pw-id
]
BFD for LSP configuration example
Network requirements
Use LDP to establish an LSP from 1.1.1.9/32 to 3.3.3.9/32 and an LSP from 3.3.3.9/32 to 1.1.1.9/32.
Use BFD to verify LSP connectivity.
Figure 133 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure OSPF to ensure IP connectivity between the routers:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] quit
# Configure Router B.