Configuring bfd for lsp validity check, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 49

38
[RouterA] ping lsp ipv4 21.1.1.0 24
LSP Ping FEC: IPV4 PREFIX 21.1.1.0/24 : 100 data bytes, press CTRL_C to break
Reply from 20.1.1.2: bytes=100 Sequence=1 time = 3 ms
Reply from 20.1.1.2: bytes=100 Sequence=2 time = 2 ms
Reply from 20.1.1.2: bytes=100 Sequence=3 time = 1 ms
Reply from 20.1.1.2: bytes=100 Sequence=4 time = 1 ms
Reply from 20.1.1.2: bytes=100 Sequence=5 time = 3 ms
--- FEC: IPV4 PREFIX 21.1.1.0/24 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/2/3 ms
# On Router C, check the connectivity of the LDP LSP from Router C to 11.1.1.0/24.
[RouterC] ping lsp ipv4 11.1.1.0 24
LSP Ping FEC: IPV4 PREFIX 11.1.1.0/24 : 100 data bytes, press CTRL_C to break
Reply from 10.1.1.1: bytes=100 Sequence=1 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=2 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=3 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=4 time = 3 ms
Reply from 10.1.1.1: bytes=100 Sequence=5 time = 2 ms
--- FEC: IPV4 PREFIX 11.1.1.0/24 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/3 ms
Configuring BFD for LSP validity check
Network requirements
For the network diagram, see
. Make sure that two LDP LSPs are established between Router A
and Router C. Use BFD to detect the connectivity of the LSPs.
Configuration procedure
1.
Configure LDP sessions. For more information, see “
Configuring LDP to establish LSPs
.”
2.
Enable BFD for LSP validity check.
# Configure Router A.
[RouterA] mpls lspv
[RouterA -mpls-lspv] bfd enable 21.1.1.0 24
[RouterA -mpls-lspv] quit
# Configure Router C.
[RouterC] mpls lspv
[RouterC-mpls-lspv] bfd enable 11.1.1.0 24