446
Usage guidelines
An IPv6 prefix list can have multiple items, and each of them specifies a range of IPv6 prefixes. The
relation between items is logic OR. If a route passes an item, it passes the IPv6 prefix list.
If
ipv6-address prefix-length
is specified as :: 0, only the default route matches.
To match all routes, configure :: 0
less-equal
128.
Examples
# Permit IPv6 addresses with a mask length between 32 bits and 64 bits.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc permit :: 0 greater-equal 32 less-equal 64
# Deny IPv6 addresses with a prefix 3FFE:D00::/32 and a prefix length greater than or equal to 32 bits.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc deny 3FFE:D00:: 32 less-equal 128
Related commands
•
display ipv6 prefix-list
•
reset ipv6 prefix-list
reset ipv6 prefix-list
Use
reset ipv6 prefix-list
to clear IPv6 prefix list statistics.
Syntax
reset ipv6 prefix-list
[
prefix-list-name
]
Views
User view
Predefined user roles
network-admin
Parameters
prefix-list-name
: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
Without this argument, this command clears statistics for all IPv6 prefix lists.
Examples
# Clear the statistics for IPv6 prefix list
abc
.
<Sysname> reset ipv6 prefix-list abc
Related commands
•
display ipv6 prefix-list
•
ipv6 prefix-list