Operation Manual – Routing ProtocolH3C S9500 Series Routing Switches Chapter 7 IP Routing Policy Configuration7-3Note:For the configuration of ACL, refer to the “QoS/ACL Operation” part of this manual.2) Applications of routing policies include:z Applying Route Policy on Imported Routesz Applying Route Policy on Received or Advertised Routes7.2.1 Configuring a Route-policyA 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 clausesfor a node have the relationship of “AND”. That is, the route must satisfy all theif-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 passesthe matching test. That is, the clause sets the routing information attribute.I. Defining a route-policyPerform the following configuration in system view.Table 7-1 Define a route-policyOperation CommandEnter Route policy view route-policy route-policy-name{ permit | deny } node node-numberRemove 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-policyto be in permit mode. If a route satisfies all the if-match clauses of the node, it will passthe filtering of the node, and the apply clauses for the node will be executed withouttaking the test of the next node. If not, however, the route should take the test of thenext node.The deny keyword specifies the matching mode for a defined node in the route-policyto be in deny mode. In this mode, the apply clauses will not be executed. If a routesatisfies all the if-match clauses of the node, it will be denied by the node and will nottake the test of the next node. If not, however, the route will take the test of the nextnode.