1206 CHAPTER 78: ROUTING POLICY COMMON CONFIGURATION COMMANDS

deny: Specifies the matching mode of the routing policy node as deny. If a route satisfies all the if-match clauses of the node, it does not pass the filtering of the node and will not go to the next node.

node node-number: Node number, in the range 0 to 65535. The node with a smaller node-numberwill be tested first when the routing policy is used for filtering routing information.

Description Use the route-policycommand to create a routing policy and enter its view.

Use the undo route-policycommand to remove a routing policy.

No routing policy is created by default.

A routing policy is used for routing information filtering or policy routing. It contains several nodes and each node comprises some if-match and apply clauses. The if-match clauses define the matching criteria of the node and the apply clauses define the actions performed after a packet passes the filtering of the node. The relation among the if-match clauses of a node is logic AND, namely all the if-match clauses must be satisfied. The filter relation among different route-policy nodes is logic OR, namely a packet passing a one node passes the routing policy.

Related commands: if-match interface, if-match acl, if-matchip-prefix,if-match ip next-hop,if-match cost, if-match tag, apply ip-addressnext-hop,apply local-preference,apply cost, apply origin and apply tag.

Examples # Create routing policy 1 with node 10 and matching mode as permit, and then enter routing policy view.

<Sysname> system-view

[Sysname] route-policy policy1 permit node 10

[Sysname-route-policy]

Page 1206
Image 1206
3Com MSR 30, MSR 50 manual Routing Policy Common Configuration Commands