Command Reference Guide

3Com Router 5000 Family and Router 6000 Family route-policy 245
Command Reference
route-policy
Purpose Use the route-policy command to create a route-policy or a route-policy node
and enter the corresponding view.
Use the undo route-policy command to remove a route-policy or a route-policy
node.
Syntax route-policy route-policy-name { permit | deny } node { node-number }
undo route-policy route-policy-name [ permit | deny | node node-number
]
Parameters route-policy-name
Specifies the name of a route-policy, which uniquely
identifies one route-policy.
permit
Sets the match mode of a route-policy node to permit.
If a packet matches all if-match clauses of the
route-policy node, the packet is permitted and actions
are performed on the packet according to the apply
clauses of the route-policy node. If the packet does not
match one of the if-match clauses of the route-policy
node, it is checked against the next route-policy node.
deny
Sets the match mode of a route-policy node to deny.
When a packet matches all if-match clauses of the
node, the packet is denied by the node and will not be
checked against the next node.
node
Route-policy node.
node-number
Identifies a node in the route-policy. When the
route-policy is used for routing information filtering,
the node with a smaller
node-number is used first.
Default By default, no route-policy is defined.
Example Configure route-policy policy 1, setting its node number to 10 and match mode to
permit; and enter the corresponding view.
[3Com] route-policy policy1 permit node 10
[3Com-route-policy]
View This command can be used in the following views:
System view