64
The output shows that the next hop of the IPv6 LSP for FEC 21::0/64 is Router B
(FE80::20C:29FF:FE9D:EAC0). The IPv6 LSP has been established over the link Router A—Router
B—Router C, not over the link Router A—Router D—Router C.
# Test the connectivity of the IPv6 LDP LSP from Router A to Router C.
[RouterA] ping ipv6 -a 11::1 21::1
Ping6(56 data bytes) 11::1 --> 21::1, press CTRL_C to break
56 bytes from 21::1, icmp_seq=0 hlim=63 time=4.000 ms
56 bytes from 21::1, icmp_seq=1 hlim=63 time=3.000 ms
56 bytes from 21::1, icmp_seq=2 hlim=63 time=3.000 ms
56 bytes from 21::1, icmp_seq=3 hlim=63 time=2.000 ms
56 bytes from 21::1, icmp_seq=4 hlim=63 time=1.000 ms
--- Ping6 statistics for 21::1 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/2.600/4.000/1.020 ms
# Test the connectivity of the IPv6 LDP LSP from Router C to Router A.
[RouterC] ping ipv6 -a 21::1 11::1
Ping6(56 data bytes) 21::1 --> 11::1, press CTRL_C to break
56 bytes from 11::1, icmp_seq=0 hlim=63 time=1.000 ms
56 bytes from 11::1, icmp_seq=1 hlim=63 time=2.000 ms
56 bytes from 11::1, icmp_seq=2 hlim=63 time=1.000 ms
56 bytes from 11::1, icmp_seq=3 hlim=63 time=2.000 ms
56 bytes from 11::1, icmp_seq=4 hlim=63 time=1.000 ms
--- Ping6 statistics for 11::1 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.400/2.000/0.490 ms
IPv6 label advertisement control configuration example
Network requirements
Two links, Router A—Router B—Router C and Router A—Router D—Router C, exist between
subnets 11::0/64 and 21::0/64.
Configure LDP to establish LSPs only for routes to subnets 11::0/64 and 21::0/64.
Configure LDP to establish LSPs only on the link Router A—Router B—Router C to forward traffic
between subnets 11::0/64 and 21::0/64.