Prefix List Policy
Prefix lists provides the most powerful prefix based filtering mechanism. In addition to access-list functionality, ip prefix-list has prefix length range specification.
If no ip prefix list is specified, it acts as permit. If ip prefix list is defined, and no match is found, default deny is applied.
Prefix filtering can be done using prefix-list and prefix-list6.
Configuration
IPv4 Prefix Lists (prefix-list)
This command creates the new prefix-list policy, identified by <text>.
This command creates a new rule in the prefix-list and defines an action.
Set description for rule in the prefix-list.
Example: IPv4 Prefix Lists (prefix-list)
This example creates an IPv4 prefix-list named PL4-EXAMPLE-NAME, defines 3 rules each with 1 prefix, and matches le (less than/equal to) /32.
IPv6 Prefix Lists (prefix-list6)
This command creates the new IPv6 prefix-list policy, identified by <text>.
This command creates a new rule in the IPv6 prefix-list and defines an action.
Set description for rule in IPv6 prefix-list.
Example: IPv6 Prefix Lists (prefix-list6)
This example creates an IPv6 prefix-list6 named PL6-EXAMPLE-NAME, defines 3 rules each with 1 prefix, and matches le (less than/equal to) /128.