![Huawei S6700 Series Скачать руководство пользователя страница 616](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517616.webp)
10.3.4 Checking the Configuration
After an IP prefix list is configured, you can check information about the IP prefix list.
Prerequisites
The configurations for the IP-Prefix list are complete.
Procedure
l
Run the
display ip ip-prefix
[
ip-prefix-name
] command to check information about the
IPv4 prefix list.
l
Run the
display ip ipv6-prefix
[
ipv6-prefix-name
] command to check information about
the IPv6 prefix list.
----End
Example
Run the
display ip ip-prefix p1
command. You can view information about the prefix list named
p1
.
<Quidway>
display ip ip-prefix p1
Prefix-list pl
Permitted 5
Denied 2
index: 10 permit 192.168.0.0/16 ge 17 le 18
10.4 Configuring the Route-Policy
Each node of a Route-Policy consists of a set of if-match and apply clauses.
10.4.1 Establishing the Configuration Task
Before configuring the Route-Policy, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the required data. This can help you complete
the configuration task quickly and accurately.
Applicable Environment
A Route-Policy is used to match routes or certain route attributes, and to change these attributes
when the matching rules are met.
A Route-Policy consists of multiple nodes. Each node is classified into the following clauses:
l
if-match
clauses: define the matching rules. The matching rules are used by the routes that
match the Route-Policy. The matching objects refer to some attributes of the route.
l
apply
clauses: specify actions, that is, configuration commands used to modify certain
attributes.
For more information about Route-Policy, refer to the
S6700 Series Ethernet Switches Feature
Description - IP Routing
.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
10 Routing Policy Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
597