Command Reference Guide
3Com Router 5000 Family and Router 6000 Family route-policy ● 247
Command Reference
route-policy
Purpose Use the route-policy command to configure a route-policy node and enter the
route-policy view.
Use the undo route-policy command to remove a route-policy or a node.
Syntax route-policy policy-name { permit | deny } node sequence-number
undo route-policy policy-name [ permit | deny ] [ node sequence-number
]
Parameters policy-name
Specifies the name of a route-policy, which uniquely
identifies one route-policy.
permit
Specifies the match mode of the route-policy node
defined as permit. When a route entry meets the
if-match clause of the node, the entry is permitted to
pass the filter of the node and the apply clause of the
node will be performed. If a route entry does not meet
the if-match clause of the node, the next node of the
route-policy will be tested. For multicast policy routing
configuration, all the if-match clauses except the
if-match acl clause are invalid.
deny
Specifies the match mode of the route-policy node
defined as deny. When a route entry meets the
if-match clause of the node, the entry is denied to pass
the filter of the node and the next node will not be
tested. For multicast policy routing configuration, all
the if-match clauses except the if-match acl clause are
invalid.
sequence-number
Identifies a node in the route-policy. When the
route-policy is used for routing information filtering,
the node with a smaller
sequence-number is tested
first. This parameter ranges from 0 to 65535.
Default By default, no route-policy is defined.
Example Configure a route-policy named map1 with the node ID of 10 and with the match
mode of permit and enter the route-policy view.
[3Com] route-policy map1 permit node 10
[3Com-route-policy]
View This command can be used in the following views:
■ System view