The apply mpls-label command sets the action for allocating MPLS labels to public routes in a routing policy.
The undo apply mpls-label command restores the default setting.
By default, the action for allocating MPLS labels to public routes is not set in a routing policy.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5730-HI, S5731-S, S5731S-S, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H |
Supported |
S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI, S6730-S, and S6730S-S |
Not supported |
Usage Scenario
In the scenario where inter-AS VPN Option C or Carrier Support Carrier (CSC) is deployed, you can use the apply mpls-label command to allocate labels to public routes.
Prerequisites
The apply mpls-label command can be used only after the route-policy command is used.
Precautions
When a routing policy takes effect, it allocates MPLS labels to public routes.