H3C IE4300 Command Reference Manual page 1488

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

Parameters
prefix-list-name
characters.
index index-number
65535. An item with a smaller index number is matched first. If you do not specify this option, the
index number starts from 10 and increments by 10 for each of the consecutive IPv6 prefix list items.
: 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.
permit
: Specifies the permit mode. If a route matches the item, it passes the IPv6 prefix list. If a
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 :: 0
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
: Specifies an IPv6 prefix list name, a case-sensitive string of 1 to 63
: Specifies an index number for an IPv6 prefix list item, in the range of 1 to
: 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
less-equal
,
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.
19
prefix-length
: Specifies a prefix
<=
min-mask-length
arguments are specified, the
.
argument is 1 to 128.
<=

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents