3Com Switch 8800 Configuration Guide Chapter 22 IP Routing Policy Configuration
22-3
Configuring ip-prefix
z Configuring the AS Path List
z Configuring a Community Attribute List
Note:
For the configuration of ACL, refer to the QoS/ACL operation part of this manual.
2) Applications of routing policies include:
z Importing Routing Information Discovered by Other Routing Protocols
z Configuring Route Filtering
22.2.1 Configuring a Route-policy
A route-policy can comprise multiple nodes. Each node is a unit for matching operation.
The nodes will be tested against by node-number.
Each node consists of a group of if-match clauses and apply clauses.
z The if-match clauses define the matching rules. The different if-match clauses
for a node have the relationship of “AND”. That is, the route must satisfy all the
if-match clauses for the node to match the node before passing this node.
z The apply clauses define the executed action after the routing information passes
the matching test. That is, the clause sets the routing information attribute.

I. Defining a route-policy

Perform the following configuration in system view.
Table 22-1 Define a route-policy
Operation Command
Enter Route policy view route-policy route-policy-name
{ permit | deny } node node-number
Remove the specified route-policy undo route-policy route-policy-name
[ permit | deny | node node-number ]
The permit keyword specifies the matching mode for a defined node in the route-policy
to be in permit mode. If a route satisfies all the if-match clauses of the node, it will pass
the filtering of the node, and the apply clauses for the node will be executed without
taking the test of the next node. If not, however, the route should take the test of the
next node.
The deny keyword specifies the matching mode for a defined node in the route-policy
to be in deny mode. In this mode, the apply clauses will not be executed. If a route