<HUAWEI>
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.3 Configuring the Route-Policy
Each node of a Route-Policy consists of a set of if-match and apply clauses.
10.3.1 Before You Start
Before configuring the Route-Policy, familiarize yourself with the usage scenario, 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
HUAWEI NetEngine80E/40E Router
Feature Description - IP Routing
.
Pre-configuration Tasks
To configure a Route-Policy, complete the following tasks:
l
10.2 Configuring the IP-Prefix List
l
Configuring routing protocols
Data Preparation
To configure a Route-Policy, you need the following data.
No.
Data
1
Name and node number of the Route-Policy
2
Matching rule
3
Route attributes to be modified
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
10 Routing Policy Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1200