H3C IE4300 Command Reference Manual page 1483

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

Advertisement

Default
No IPv4 prefix lists exist.
Views
System view
Predefined user roles
network-admin
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 prefix list items.
deny
: Specifies the deny mode. If a route matches the item, the route is denied without being
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 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 0.0.0.0 0
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
: Specifies an IPv4 prefix list name, a case-sensitive string of 1 to 63
: Specifies an index number for an IPv4 prefix list item, in the range of 1 to
: 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
less-equal
,
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.
14
: Specifies a prefix
<= 32.
arguments are specified, the prefix
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents