The if-match ip-prefix command configures a tunnel selector to use an IP prefix list as a route filtering rule.
The undo if-match ip-prefix command restores the default configuration.
By default, a tunnel selector does not use any IP prefix list as a route filtering rule.
Usage Scenario
To enable a device to match routes against a specified IP prefix list and determine whether to permit or deny the routes based on matching results, run the if-match ip-prefix command to configure a tunnel selector to use the IP prefix list as a route filtering rule.
The if-match ip-prefix command must be used with the ip ip-prefix command. For example:Prerequisites
A tunnel selector has been configured using the tunnel-selector command.
Configuration Impact
Routes are filtered by IP prefix. Only routes matching the specified IP prefix list are permitted.