Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
5.3 Route-Policy Configuration
A route-policy is used to match given routing information or some attributes of routing
information and change the attributes of the routing information if the conditions are
met. The above-mentioned filtering lists can serve as the match conditions:
A route-policy can comprise multiple nodes and each node comprises:
if-match clause: Defines matching rules; that is, the filtering conditions that the
routing information should satisfy for passing the current route-policy. The
matching objects are some attributes of the routing information.
apply clause: Specifies actions, which are the configuration commands
executed after a route satisfies the filtering conditions specified by the if-match
clause. Thereby, some attributes of the route can be modified.
5.3.1 Configuration Prerequisites
Before configuring a route-policy, perform the following tasks:
Configuring a filtering list,
Configuring a routing protocol
Prepare the following data before the configuration:
Route-policy name and node number
Match conditions
Route attributes to be changed
5.3.2 Defining a Route-Policy
Table 5-2 Define a route-policy
Operation
Enter system view
Define
route-policy
enter
route-policy view
Command
system-view
a
route-policy route-policy-name
and
{
permit
|
the
node-number
Huawei Technologies Proprietary
5-3
Chapter 5 IP Routing Policy Configuration
—
Required
deny
}
node
By default, no route-policy
is defined.
Description