The if-match preference command configures a route priority-based matching rule.
The undo if-match preference command deletes a route priority-based matching rule.
By default, no route priority-based matching rule is configured.
| Parameter | Description | Value |
|---|---|---|
| preference | Specifies a route priority. |
The value is an integer ranging from 0 to 255. |
To configure a route priority-based matching rule, run the if-match preference command. After the rule is configured, routes are filtered based on the specified priority, and the routes with the specified priority match the rule.
Prerequisites
The if-match command can be used only after the route-policy command is used.