Configuring An Ipv6 Prefix List - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
----End

10.3.3 Configuring an IPv6 Prefix List

An IPv6 prefix list filters routes according to IPv6 address prefixes. An IPv6 address prefix is
defined by the IPv6 address and mask length.
Context
Do as follows on the switch to which the IP prefix list is applied:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip ipv6-prefix ipv6-prefix-name [ index index-number ] { permit | deny } ipv6-
address prefix-length [ greater-equal greater-equal-value ] [ less-equal less-
equal-value ]
An IPv6 prefix list is configured.
The range of the prefix length can be specified as prefix-length <= greater-equal-value <= less-
equal-value <= 128. If only greater-equal is specified, the range of the prefix is [greater-equal-
value, 128]; if only less-equal is specified, the range of the prefix is [prefix-length, less-equal-
value].
An IPv6 prefix list is identified by its list name. Each prefix list can include multiple entries.
Each entry can independently specify the matching range in the form of the network prefix and
identify it with an index number. For example, the following shows an IPv6 prefix list named
abcd:
#
ip ipv6-prefix abcd index 10 permit 1:: 64
ip ipv6-prefix abcd index 20 permit 2:: 64
During the matching, the system checks the entries identified by the index numbers in an
ascending order. When a route matches an entry, it does not match other entries.
In S6700, all unmatched routes are filtered. If all entries are in deny mode, all routes are filtered.
It is recommended that you define a permit :: 0 less-equal 128 after multiple entries in deny
mode, thus allowing all the other IPv6 routes to pass the IP prefix list.
----End
Issue 01 (2012-03-15)
NOTE
If more than one IP-prefix entry is defined, at least one entry should be in the permit mode.
If the IP prefix list is used in OSPF to allow the packets from a specified network segment, run the display
ospf lsdb ase ip-address command to check whether the forwarding address is 0.0.0.0 . If not, permit this
forwarding address when configuring the IP prefix list. If the forwarding address is not permitted, you
cannot display the routing table of the allowed network segment.
NOTE
If more than one IP-prefix entry is defined, at least one entry should be in the permit mode.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
596

Advertisement

Table of Contents
loading

Table of Contents