Creating or Configuring an IP or IPv6 Prefix List for Route Filtering

You can use the ip prefix-list and ipv6 prefix-list commands to create a prefix list for route filtering and to specify a list entry—a deny or permit clause for a network address—to the prefix list. You can add entries to prefix lists. The prefix list name can be up to 32 characters long.

You can specify the position of each entry in the list with the seq (sequence) keyword. If you do not specify a sequence number, the router uses the value of the last sequence number plus 5.

You can use the ge and le keywords to specify a range of network prefixes. These keywords have the following values:

If you do not specify either the ge or le keyword, an exact match is expected.

To create a prefix list for route filtering:

Use the no version to remove the specified prefix list or the specified list entry.

Related Documentation