Download Print this page

Configuring An Ipv6 Prefix List - Huawei Quidway NetEngine80E Configuration Manual

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
all routes with mask length 8, while the ip ip-prefix prefix1 permit 0.0.0.0 8 match-
network command filters all routes to the IP address range from 0.0.0.1 to 0.255.255.255.
The range of the mask length can be specified as mask-length <= greater-equal-value <= less-
equal-value <= 32. If only greater-equal is specified, the range of the prefix is [greater-equal-
value, 32]; if only less-equal is specified, the range of the prefix is [mask-length, less-equal-
value].
An IPv4 prefix list is identified by its list name. Each prefix list contains 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 IPv4 prefix list named abcd:
#
ip ip-prefix abcd index 10 permit 1.0.0.0 8
ip ip-prefix abcd index 20 permit 2.0.0.0 8
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 the NE80E/40E, all unmatched routes cannot pass the filtering list. If all entries are in deny
mode, all routes are filtered. It is recommended that you define a permit 0.0.0.0 0 less-equal
32 entry after multiple entries in deny mode, therefore allowing all the other IPv4 routes to pass
the IP prefix list.
Step 3 (Optional) Run:
ip ip-prefix ip-prefix-name description text
The description information of the IP prefix list is displayed.
----End

10.2.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
Perform the following steps on the router 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 [ match-network ] [ greater-equal greater-equal-value ]
[ less-equal less-equal-value ]
An IPv6 prefix list is configured.
Issue 02 (2014-09-30)
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
1198

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e