The if-match mpls-label command configures a filtering rule based on MPLS labels.
The undo if-match mpls-label command cancels the configuration.
By default, no filtering rule based on MPLS labels is configured.
Usage Scenario
In an inter-AS VPN Option C or CSC scenario, you can use the if-match mpls-label command to match routes that carry MPLS labels.
In an EVPN scenario, you can run the if-match mpls-label2 command to filter IRB routes that carry MPLS-label2 labels.Prerequisites
A route-policy has been configured using the route-policy command.