HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
582
undo ipv6 prefix-list prefix-list-name [ index index-number ]
Default
No IPv6 prefix list is configured.
Views
System view
Predefined user roles
network-admin
Parameters
prefix-list-name: Specifies a name for the IPv6 prefix list, a case-sensitive string of 1 to 63 characters.
index-number: Specifies an index number for an IPv6 prefix list item, in the range of 1 to 65535. An item
with a smaller number is matched first.
deny: Specifies the deny mode. If a route matches the item, the route is denied without matching against
the next item; if not, the route matches against the next item (suppose the IPv6 prefix list has multiple
items).
permit: Specifies the permit mode. If a route matches the item, it passes the IPv4 prefix list. If not, it
matches against the next item (suppose the IPv6 prefix list has multiple items).
ipv6-address prefix-length: Specifies an IPv6 prefix and prefix length. The value range for the
prefix-length argument is 0 to 128. When specified as :: 0, the argument matches the default route.
greater-equal min-prefix-length: Greater than or equal to the minimum prefix length.
less-equal max-prefix-length: Less than or equal to the maximum prefix length.
The length relation is mask-length <= min-mask-length <= max-mask-length <= 128. If only the
min-prefix-length is specified, the prefix length range is [ min-prefix-length, 128 ]. If only the
max-prefix-length is specified, the prefix length range is [ prefix-length, max-prefix-length ]. If both the
min-prefix-length and max-prefix-length are specified, the prefix length range is [ min-prefix-length,
max-prefix-length ].
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