To conserve label resources on an ASBR, configure one-label-per-next-hop label allocation on the ASBR. One-label-per-next-hop label allocation on ASBRs and one-label-per-instance label distribution on PEs must be used together.
In an inter-AS VPN Option B scenario, after one-label-per-next-hop label distribution is configured on an ASBR, the ASBR assigns only one label to VPNv6 routes that share the same next hop and outgoing label. Compared with on-label-per-route label distribution, one-label-per-next-hop label distribution significantly saves label resources on the ASBR.
Perform the following steps on an ASBR.
The system view is displayed.
The BGP view is displayed.
The BGP-VPN IPv6 address family view is displayed.
One-label-per-next-hop label distribution is enabled on the ASBR.
After one-label-per-next-hop label distribution is enabled or disabled on an ASBR, the labels assigned by the ASBR to routes change. As a result, temporary packet loss may occur.
The configuration is committed.