The apply-label per-route command enables the one-label-per-route mode. The VPN instance IPv4/IPv6 address family assigns a unique label to each route to be sent to the peer PE.
The undo apply-label per-route command disables the one-label-per-route mode.
By default, the USG6000E applies one label to all the routes of a VPN instance.
VPN instance view, VPN instance IPv4 address family view or VPN instance IPv6 address family view
Usage Scenario
By default, the VPN instance IPv4/IPv6 address family assigns the same label to all routes to be sent to the peer PE. If you want to change the label allocation mode from one-label-per-instance to one-label-per-route, run the apply-label per-route command.
Prerequisite
The route-distinguisher command is run to configure an RD for the VPN instance enabled with the IPv4 or IPv6 address family.
Configuration Impact
The change of the label allocation mode leads to the re-advertising of VPN routes. The services may be interrupted temporarily. Exercise caution when running the apply-label per-route or undo apply-label per-route command.
The apply-label per-instance and apply-label per-route commands are mutually exclusive. If both commands are run, the latest configuration overrides the previous one.