IPv6 Prefix List Commands
OL-32830-01 Command Line Interface Reference Guide 598
26
Example
The following example clears the hit count from the prefix list entries for the prefix
list named first_list that match the network mask 2001:0DB8::/35:
switchxxxxxx#
clear ipv6 prefix-list
first_list 2001:0DB8::/35
26.2 ipv6 prefix-list
Use the ipv6 prefix-list command in Global Configuration mode to create an entry
in an IPv6 prefix list. To delete the entry, use the no form of this command.
Syntax
ipv6 prefix-list
list-name
[seq
number
] {{deny|permit}
ipv6-prefix
/
prefix-length
[ge
ge-length
] [le
le-length
]} | description
text
no ipv6 prefix-list
list-name
[seq
number
]
Parameters
•
list-name
—Name of the prefix list. The name may contain up to 32
characters.
• seq
seq-number
—Sequence number of the prefix list entry being
configured. This is an integer value from 1 to 4294967294.
• deny—Denies networks that matches the condition.
• permit—Permits networks that matches the condition.
•
ipv6-prefix
—IPv6 network assigned to the specified prefix list. This
argument must be in the form documented in RFC 4293 where the address
is specified in hexadecimal—using 16-bit values between colons.
• /
prefix-length
—Length of the IPv6 prefix. 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 from 0 to 128. The zero
prefix-length
may be used only with
the zero
ipv6-prefix
(::).
• description
text
—Text that can be up to 80 characters in length.