5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
677
Command Mode
Global Config
7-53
ipv6 prefix-list
Create IPv6 prefix lists. An IPv6 prefix list can contain only ipv6 addresses. Prefix lists allow matching of
route prefixes with those specified in the prefix list. Each prefix list includes a sequence of prefix list
entries ordered by their sequence numbers. A router sequentially examines each prefix list entry to
determine if the route’s prefix matches that of the entry. For IPv6 routes, only IPv6 prefix lists are matched.
An empty or nonexistent prefix list permits all prefixes. An implicit deny is assumed if a given prefix does
not match any entries of a prefix list. Once a match or deny occurs the router does not continue through
the rest of the list. An IPv6 prefix list may be used within a route map to match a route‘s prefix using the
match ipv6 address command. A route map may contain both IPv4 and IPv4 prefix lists. If a route being
matched is an IPv6 route, only the IPv6 prefix lists are matched.
Up to 128 prefix lists may be configured. The maximum number of statements allowed in prefix list is 64.
These numbers indicate only IPv6 prefix lists. IPv4 prefix lists may be configured in appropriate numbers
independently.
No
command deletes either the entire prefix list or an individual statement from a prefix list.
Note:
The description must be removed using the no ip prefix-list description before using this command
to delete an IPv6 Prefix List.
ipv6 prefix-list list-name [seq seq-number] {{permit | deny} ipv6-prefix/prefix-length [ge ge-value]
[le le-value] | description text | renumber renumber-interval first-statement-number}
no ipv6 prefix-list list-name
Parameters
list-name
Text name of the prefix list. Up to 32 characters.
seq seq-number
(Optional) The sequence number for this prefix list statement. Prefix list
statements are ordered from lowest sequence number to highest and
applied in that order. If you do not specify a sequence number, the
system will automatically select a sequence number five units larger
than the last sequence number in the list. Two statements may not be
configured with the same sequence number. The value ranges from 1 to
4,294,967,294.
permit
Permit routes whose destination prefix matches the statement.
deny
Deny routes whose destination prefix matches the statement.
ipv6-prefix/prefix-length
Specifies the match criteria for routes being compared to the prefix list
statement. The ipv6-prefix can be any valid IPv6 prefix where the
address is specified in hexadecimal using 16-bit values between colons.
The prefix-length is the length of the IPv6 prefix, given as a decimal
value that indicates how many of the high-order contiguous bits of the
address comprise the prefix (the network portion of the address). A
slash mark must precede the decimal value.
ge ge-value
(Optional) lf this option is configured, specifies a prefix length greater
than or equal to the ipv6-prefix/prefix-length. It is the highest value of a
range of the length.