H3C S6550X-HI Series Command Reference Manual page 2098

Table of Contents

Advertisement

: Specifies the deny mode. If a route matches the item, the route is denied without being
deny
compared with the next item. If a route does not match the item, the route is compared with the next
item.
: Specifies the permit mode. If a route matches the item, it passes the IPv6 prefix list. If a
permit
route does not match the item, the route is compared with the next item.
ipv6-address
prefix-length
argument is 0 to 128.
greater-equal min-mask-length
length range. The
less-equal
The
prefix
max-mask-length
If only the
[ min-prefix-length
If only the
[ prefix-length
If both the
prefix length range is
inverse inverse-prefix-length
the specified length. The value range for the
Usage guidelines
An IPv6 prefix list is used to filter IPv6 addresses. An IPv6 prefix list can have multiple items, and
each of them specifies a range of IPv6 prefixes. The relation between the items is logical OR. A route
passing an item passes the IPv6 prefix list. A route passing no item does not pass the IPv6 prefix list.
If the
ipv6-address prefix-length
matches.
To match all routes, configure
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
: Specifies an IPv6 address.
: Specifies the IPv6 prefix length. The value range for the
greater-equal
keyword means "less than or equal to."
length
range
relation
<= 128.
min-prefix-length
, 128
max-prefix-length
,
max-prefix-length ]
min-prefix-length
[ min-prefix-length
:: 0 less-equal
to clear IPv6 prefix list statistics.
,
less-equal max-mask-length
keyword means "greater than or equal to" and the
is
mask-length
argument is specified, the prefix length range is
.
]
argument is specified, the prefix length range is
.
and
max-prefix-length
,
max-prefix-length ]
: Matches IPv6 addresses from the least significant bit to
inverse-prefix-length
argument is specified as :: 0, only the default route
128.
46
prefix-length
: Specifies a prefix
<=
min-mask-length
arguments are specified, the
.
argument is 1 to 128.
<=

Advertisement

Table of Contents
loading

Table of Contents