The if-match mpls-label command sets a matching rule that is based on MPLS labels. That is, a rule is set to match the routes with MPLS labels.
The undo if-match mpls-label command cancels the configuration.
By default, no matching rule based on MPLS labels is set.
Usage Scenario
In the scenario where inter-AS VPN Option C or CSC is deployed, you can use the if-match mpls-label command to match routes with MPLS labels.
Prerequisites
The if-match mpls-label command can be used only after the route-policy command is used.