26
601
•
L - prefix length
•
ge - is defined
•
le - is not defined
The prefix cP/cL matches the prefix-list entry if PrefixIsEqual(cP,P,L) && cL >= ge
Case 3. An prefix-list entry is:
•
P - prefix address
•
L - prefix length
•
ge - is not defined
•
le - is defined
The prefix cP/cL matches to the prefix-list entry if PrefixIsEqual(cP,P,L) && cL <= le
Case 4. An prefix-list entry is:
•
P - prefix address
•
L - prefix length
•
ge - is defined
•
le - is defined
The prefix cP/cL matches the prefix-list entry if PrefixIsEqual(cP,P,L) && ge <= cL <=
le
Examples
Example 1. The following example denies all routes with a prefix of ::/0:
switchxxxxxx(config)#
Example 2. The following example permits the prefix 2002::/16:
switchxxxxxx(config)#
Example 3. The following example shows how to specify a group of prefixes to
accept any prefixes from prefix 5F00::/48 up to and including prefix 5F00::/64:
ipv6 prefix-list abc deny ::/0
ipv6 prefix-list abc permit 2002::/16
OL-32830-01 Command Line Interface Reference Guide
IPv6 Prefix List Commands