H3C S6550X-HI Series Command Reference Manual page 2092

Table of Contents

Advertisement

: Specifies the permit mode. If a route matches the item, it passes the IPv4 prefix list. If a
permit
route does not match the item, the route is compared with the next item.
ip-address mask-length
mask-length
greater-equal min-mask-length
length range. The
less-equal
mask-length
If only the
[ min-mask-length
If only the
[ mask-length
If both the
length range is
Usage guidelines
An IPv4 prefix list is used to filter IPv4 addresses. It can contain multiple items, each of which
specifies a range of IPv4 prefixes. The relation between the items is logical OR. If an item is passed,
the IPv4 prefix list is passed. If no item is passed, the IP prefix list cannot be passed.
If both the
ip-address
route will be matched.
To match all routes, use
Examples
# Configure IP prefix list p1 to permit routes destined for network 10.0.0.0/8 and with mask length 17
or 18.
<Sysname> system-view
[Sysname] ip prefix-list p1 permit 10.0.0.0 8 greater-equal 17 less-equal 18
Related commands
display ip prefix-list
reset ip prefix-list
reset ip prefix-list
Use
reset ip prefix-list
Syntax
reset ip prefix-list [ prefix-list-name ]
Views
User view
Predefined user roles
network-admin
Parameters
prefix-list-name
characters. If you do not specify this argument, the command clears statistics for all IPv4 prefix lists.
: Specifies an IPv4 prefix and mask length. The value range for the
argument is 0 to 32.
greater-equal
keyword means "less than or equal to." The prefix length range relation is
<=
min-mask-length
min-mask-length
, 32
.
]
max-mask-length
,
max-mask-length ]
min-mask-length
[ min-mask-length
and
mask-length
0.0.0.0 0 less-equal
to clear IPv4 prefix list statistics.
: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
,
less-equal max-mask-length
keyword means "greater than or equal to" and the
<=
max-mask-length
argument is specified, the prefix length range is
argument is specified, the prefix length range is
.
and
max-mask-length
,
max-mask-length ]
arguments are specified as 0.0.0.0 0, only the default
32.
40
: Specifies a prefix
<= 32.
arguments are specified, the prefix
.

Advertisement

Table of Contents
loading

Table of Contents