A prefix list filter allows you to apply prefix list qualifiers to a list of prefixes within a prefix list. The prefixes within the list are evaluated using the specified qualifiers. You can configure multiple prefix list filters under the same policy term.
To configure a prefix list filter, include the prefix-list-filter statement at the [edit policy-options policy-statement policy-name from] hierarchy level:
- [edit policy-options policy-statement policy-name]
- from {
- prefix-list-filter prefix-list-name match-type
actions;
- }
The prefix-list-name option is the name of the prefix list to be used for evaluation. You can specify only one prefix list.
The match-type option is the type of match to apply to the prefixes in the prefix list. It can be one of the match types listed in Table 24.
The actions option is the action to take if the prefix list matches. It can be one or more of the actions listed in Table 15 and Table 16.
Table 24: Route List Match Types for a Prefix List Filter