H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual β Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 7 IP Routing Policy Configuration
7-3
z When a routing protocol imports the routes discovered by other protocols, it
adopts routing policies to import those routes meeting the given conditions.
In addition, routing policies can also be used to change some route attributes.
7.2 IP Routing Policy Configuration
The configuration of routing policy falls into two parts: filter configuration and
application of routing policy.
1) Filter configuration includes:
z Route-policy
z ACL
z IP prefix list
z AS path list
z Community attribute list
ξ Note:
Refer to the ACL module in this operation manual for ACL configuration.
2) Routing policies are used for:
z Importing routes;
z Advertising or receiving routes.
7.2.1 Configuring a Route Policy
A route-policy comprises multiple nodes. Each node is a unit for matching test, and
the nodes will be matched by their sequence numbers.
Each node comprises a set of if-match and apply clauses.
z The if-match clauses define matching rules. The relationship among the
if-match clauses for a node is logical βANDβ. That is, a matching test against a
node is successful only when all the matching conditions specified by the
if-match clauses are satisfied.
z The apply clauses specify the actions performed after a matching test against
the node is successful, that is, configure some attributes of routing information.
I. Define a route-policy
Follow these steps to define a route-policy: