60
round-trip min/avg/max/std-dev = 1.000/1.400/2.000/0.490 ms
163B
IPv6 label advertisement control configuration example
363B
Network requirements
Two links, Switch A—Switch B—Switch C and Switch A—Switch D—Switch 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 Switch A—Switch B—Switch C to forward traffic
between subnets 11::0/64 and 21::0/64.
Figure 22 Network diagram
364B
Requirements analysis
•
To ensure that the LSRs establish IPv6 LSPs automatically, enable IPv6 LDP on each LSR.
•
To establish IPv6 LDP LSPs, configure an IPv6 routing protocol to ensure IP connectivity
between the LSRs. This example uses OSPFv3.
•
To ensure that LDP establishes IPv6 LSPs only for the routes 11::0/64 and 21::0/64, configure
IPv6 LSP generation policies on each LSR.
•
To ensure that LDP establishes IPv6 LSPs only over the link Switch A—Switch B—Switch C,
configure IPv6 label advertisement policies as follows:
{
Switch A advertises only the label mapping for FEC 11::0/64 to Switch B.
{
Switch C advertises only the label mapping for FEC 21::0/64 to Switch B.
{
Switch D does not advertise label mapping for FEC 21::0/64 to Switch A. Switch D does not
advertise label mapping for FEC 11::0/64 to Switch C.
365B
Configuration procedure
Before configuration, disable the spanning tree feature globally or map each VLAN to an MSTI. For
more information, see
Layer 2—LAN Switching Configuration Guide
.
1.
Configure IPv6 addresses and masks for interfaces, including the loopback interfaces, as
shown in
702H
Figure 22
. (Details not shown.)
2.
Configure OSPFv3 on each switch to ensure IP connectivity between them. (Details not
shown.)
Switch A
Switch B
Switch C
Loop0
1.1.1.9/32
100::1/128
Loop0
3.3.3.9/32
100::3/128
Vlan-int2
10::1/64
Vlan-int3
20::1/64
Vlan-int2
10::2/64
Vlan-int3
20::2/64
11::0/64
21::0/64
Vlan-int4
11::1/64
Vlan-int5
21::1/64
Switch D
Loop0
4.4.4.9/32
100::4/128
Loop0
2.2.2.9/32
100::2/128
Vlan-int6
30::1/64
Vlan-int7
40::2/64
Vlan-int6
30::2/64
Vlan-int7
40::1/64