3com 8807 사용자 가이드

다운로드
페이지 883
Configuring IP Routing Policy
395
Each node consists of a group of if-match clauses and apply clauses.
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.
The apply clauses define the executed action after the routing information passes 
the matching test. That is, the clause sets the routing information attribute.
 Defining a route-policy
Perform the following configuration in system view.
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 satisfies all the if-match clauses of the node, it will be denied 
by the node and will not take the test of the next node. If not, however, the route 
will take the test of the next node.
The nodes have the "OR" relationship. In other words, the router will test the 
route against the nodes in the route-policy in sequence. Once a node is matched, 
the route-policy filtering will be passed.
By default, the route-policy is not defined.
n
If multiple nodes are defined in a route-policy, at least one of them should be in 
permit mode. Apply the route-policy to filter routing information. If the routing 
information does not match any node, the routing information will be denied by 
the route-policy. If all the nodes in the route-policy are in deny mode, all routing 
information will be denied by the route-policy.
Defining if-match clauses for a route-policy
The if-match clauses define the matching rules. That is, the filtering conditions 
that the routing information should satisfy for passing the route-policy. The 
matching objects are some attributes of routing information.
Perform the following configuration in route policy view.
Table 393   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 ]