EasyManuals Logo
Home>HP>Switch>5920 Series

HP 5920 Series User Manual

HP 5920 Series
607 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #591 background imageLoading...
Page #591 background image
578
Views
System view
Predefined user roles
network-admin
Parameters
prefix-list-name: Specifies a name for the IPv4 prefix list, a case-sensitive string of 1 to 63 characters.
index-number: Specifies an index number for an IPv4 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 IPv4 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 IPv4 prefix list has multiple items).
ip-address mask-length: Specifies an IPv4 prefix and mask length. The value range for the mask-length
argument is 0 to 32.
min-mask-length, max-mask-length: Specifies a prefix length range. The greater-equal keyword means
"greater than or equal to" and the less-equal keyword means "less than or equal to." The range relation
is mask-length <= min-mask-length <= max-mask-length <= 32. If only the min-mask-length is specified,
the prefix length range is [ min-mask-length, 32 ]. If only the max-mask-length is specified, the prefix
length range is [ mask-length, max-mask-length ]. If both min-mask-length and max-mask-length are
specified, the prefix length range is [ min-mask-length, max-mask-length ].
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 ip-address and mask-length are specified as 0.0.0.0 0, only the default route will be matched.
To match all routes, use 0.0.0.0 0 less-equal 32.
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 to clear IPv4 prefix list statistics.
Syntax
reset ip prefix-list [ prefix-list-name ]

Table of Contents

Other manuals for HP 5920 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5920 Series and is the answer not in the manual?

HP 5920 Series Specifications

General IconGeneral
BrandHP
Model5920 Series
CategorySwitch
LanguageEnglish

Related product manuals