3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
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-number will be tested first when the routing policy is used for
filtering routing information.
Description Use the
route-policy command to create a routing policy and enter its view.
Use the
undo route-policy command 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-match ip-prefix, if-match ip next-hop,
if-match cost, if-match tag, apply ip-address next-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]