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 #596 background imageLoading...
Page #596 background image
583
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 IPv6 prefix list has multiple items).
ipv6-address prefix-length: Specifies an IPv6 prefix and prefix length. The value range for the
prefix-length argument is 0 to 128. When specified as :: 0, the argument matches the default route.
greater-equal min-prefix-length: Greater than or equal to the minimum prefix length.
less-equal max-prefix-length: Less than or equal to the maximum prefix length.
The length relation is mask-length <= min-mask-length <= max-mask-length <= 128. If only the
min-prefix-length is specified, the prefix length range is [ min-prefix-length, 128 ]. If only the
max-prefix-length is specified, the prefix length range is [ prefix-length, max-prefix-length ]. If both the
min-prefix-length and max-prefix-length are specified, the prefix length range is [ min-prefix-length,
max-prefix-length ].
inverse prefix-length: Matches the IPv6 prefix from the least significant bit to the most significant bit. The
value of the prefix-length argument can only be 1, which means the command matches only the least
significant bit of the IPv6 prefix.
Usage guidelines
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. If a route passes an item, it passes the IPv6 prefix list.
To differentiate the odd and even IPv6 host routes, execute this command with the inverse prefix-length
option. Odd routes refer to routes whose least significant bit is 1. Even routes refer to routes whose least
significant bit is 0.
If ipv6-address prefix-length is specified as :: 0, only the default route matches.
To match all routes, configure :: 0 less-equal 128 .
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
# Permit IPv6 addresses whose least significant bit is 0.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc permit ::0 inverse 1
# Permit IPv6 addresses whose least significant bit is 1.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc permit ::1 inverse 1
Related commands
• display ipv6 prefix-list
• reset ipv6 prefix-list
reset ipv6 prefix-list
Use reset ipv6 prefix-list to clear IPv6 prefix list statistics.

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