Ip Ipv6-Prefix - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches

6.2.4 ip ipv6-prefix

Syntax
ip ipv6-prefix ipv6-prefix-name [ index index-number ] { deny | permit } ipv6-address
prefix-length [ greater-equal min-prefix-length ] [ less-equal max-prefix-length ]
undo ip ipv6-prefix ipv6-prefix-name [ index index-number ]
View
System view
Parameters
ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters, for uniquely
specifying an IPv6 prefix list.
index-number: Index number, in the range 1 to 65535, for uniquely specifying an IPv6
prefix list item. The item with a smaller index-number will be tested first.
permit: Specifies the matching mode for the IPv6 prefix list as permit, that is, if a route
matches the IPv6 prefix list, it passes the IPv6 prefix list without needing to enter the
next item for test. If not, it will enter the next item test.
deny: Specifies the matching mode for the IPv6 prefix list as deny, that is, if a route
matches the IPv6 prefix list, the route neither passes the filter nor enters the next node
for test; if not, the route will enter the next item test.
ipv6-address prefix-length: Specifies an IPv6 prefix and prefix length, with prefix-length
being in the range 0 to 128. When specified as :: 0, it 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 min-prefix-length is specified, the prefix length range is [ min-prefix-length, 128 ]. If
only max-prefix-length is specified, the prefix length range is [ prefix-length,
max-prefix-length ]. If both min-prefix-length and max-prefix-length are specified, the
prefix length range is [ min-prefix-length, max-prefix-length ].
Description
Use the ip ipv6-prefix command to configure an IPv6 prefix list item.
Use the undo ip ipv6-prefix command to remove an IPv6 prefix list or an item.
No IPv6 prefix list is configured by default.
The IPv6 address prefix list is used to filter IPv6 addresses. It may have multiple items,
and each of them specifies a range of IPv6 prefix. The filtering relation among items is
logic OR, namely, a route passing an item will pass the prefix list.
Chapter 6 Routing Policy Configuration Commands
6-4

Advertisement

Table of Contents
loading

Table of Contents