The if-match interface command sets a filtering rule that is based on the outbound interface.
The undo if-match interface command cancels the configuration.
By default, no filtering rule based on the outbound interface is set.
Usage Scenario
To filter routes based on the outbound interface, run the if-match interface command.
Prerequisites
A route-policy has been configured using the route-policy command.
Configuration Impact
When you filter routes based on the outbound interfaces, the routes that match the filtering rule are permitted and the routes that do not match the filtering rule are denied.
Follow-up Procedure
Define apply clauses to set route attributes for the routes matching the rules.