To save 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 VPNv4 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.
Perform the following steps on an ASBR:
The system view is displayed.
The BGP view is displayed.
The BGP-VPNv4 address family view is displayed.
One-label-per-next-hop label distribution is enabled on the ASBR.
The configuration is committed.