62
[RouterC] mpls ldp
[RouterC-ldp] quit
[RouterC] interface serial 1/1/0
[RouterC-Serial1/1/0] mpls enable
[RouterC-Serial1/1/0] mpls ldp ipv6 enable
[RouterC-Serial1/1/0] mpls ldp transport-address 20::2
[RouterC-Serial1/1/0] quit
[RouterC] interface serial 1/1/1
[RouterC-Serial1/1/1] mpls enable
[RouterC-Serial1/1/1] mpls ldp ipv6 enable
[RouterC-Serial1/1/1] mpls ldp transport-address 40::2
[RouterC-Serial1/1/1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] mpls lsr-id 4.4.4.9
[RouterD] mpls ldp
[RouterD-ldp] quit
[RouterD] interface serial 1/1/0
[RouterD-Serial1/1/0] mpls enable
[RouterD-Serial1/1/0] mpls ldp ipv6 enable
[RouterD-Serial1/1/0] mpls ldp transport-address 30::2
[RouterD-Serial1/1/0] quit
[RouterD] interface serial 1/1/1
[RouterD-Serial1/1/1] mpls enable
[RouterD-Serial1/1/1] mpls ldp ipv6 enable
[RouterD-Serial1/1/1] mpls ldp transport-address 40::1
[RouterD-Serial1/1/1] quit
4.
Configure IPv6 LSP generation policies:
# On Router A, create IPv6 prefix list
routera
, and configure LDP to use only the routes
permitted by the prefix list to establish IPv6 LSPs.
[RouterA] ipv6 prefix-list routera index 10 permit 11::0 64
[RouterA] ipv6 prefix-list routera index 20 permit 21::0 64
[RouterA] mpls ldp
[RouterA-ldp] ipv6 lsp-trigger prefix-list routera
[RouterA-ldp] quit
# On Router B, create IPv6 prefix list
routerb
, and configure LDP to use only the routes
permitted by the prefix list to establish IPv6 LSPs.
[RouterB] ipv6 prefix-list routerb index 10 permit 11::0 64
[RouterB] ipv6 prefix-list routerb index 20 permit 21::0 64
[RouterB] mpls ldp
[RouterB-ldp] ipv6 lsp-trigger prefix-list routerb
[RouterB-ldp] quit
# On Router C, create IPv6 prefix list
routerc
, and configure LDP to use only the routes
permitted by the prefix list to establish IPv6 LSPs.
[RouterC] ipv6 prefix-list routerc index 10 permit 11::0 64
[RouterC] ipv6 prefix-list routerc index 20 permit 21::0 64
[RouterC] mpls ldp
[RouterC-ldp] ipv6 lsp-trigger prefix-list routerc