54
[SwitchB-ldp] ipv6 lsp-trigger prefix-list switchb
[SwitchB-ldp] quit
# On Switch C, create IPv6 prefix list switchc, and configure LDP to use only the routes
permitted by the prefix list to establish IPv6 LSPs.
[SwitchC] ipv6 prefix-list switchc index 10 permit 100::1 128
[SwitchC] ipv6 prefix-list switchc index 20 permit 100::2 128
[SwitchC] ipv6 prefix-list switchc index 30 permit 100::3 128
[SwitchC] ipv6 prefix-list switchc index 40 permit 11::0 64
[SwitchC] ipv6 prefix-list switchc index 50 permit 21::0 64
[SwitchC] mpls ldp
[SwitchC-ldp] ipv6 lsp-trigger prefix-list switchc
[SwitchC-ldp] quit
358BVerifying the configuration
# Display IPv6 LDP LSP information on the switches, for example, on Switch A.
[SwitchA] display mpls ldp lsp ipv6
Status Flags: * - stale, L - liberal, B - backup
FECs: 5 Ingress: 3 Transit: 3 Egress: 2
FEC: 11::/64
In/Out Label: 2426/- OutInterface : -
Nexthop : -
In/Out Label: -/2424(L) OutInterface : -
Nexthop : -
FEC: 21::/64
In/Out Label: -/2425 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
In/Out Label: 2423/2425 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
FEC: 100::1/128
In/Out Label: 1040377/- OutInterface : -
Nexthop : -
In/Out Label: -/2426(L) OutInterface : -
Nexthop : -
FEC: 100::2/128
In/Out Label: -/1040379 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
In/Out Label: 2425/1040379 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
FEC: 100::3/128
In/Out Label: -/2427 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
In/Out Label: 2424/2427 OutInterface : Vlan2
Nexthop : FE80::20C:29FF:FE9D:EAC0
# Test the connectivity of the IPv6 LDP LSP from Switch A to Switch C.