Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 12 IP Unicast Policy Routing Configurati
on Commands
3Com Corporation
12-10
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.
Description
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.
By default, no route-policy is defined.
Route-policies are used for policy routing. One route-policy may contain multiple nodes,
each consisting of multiple if-match and apply clauses.
The if-match clauses of a route-policy node define the match rules whereas its apply
clauses define the actions performed on the packets filtered in by the node.
For a route-policy node, the relationship between its if-match clauses is AND for packet
filtering, meaning a packet is permitted by the node only when it matches all if-match
clauses.
For a route-policy, the relationship between its nodes is OR for packet filtering, meaning
a packet permitted by a route-policy node passes the filtering of the route-policy. If the
packet does not match any route-policy node, it is denied by the route-policy.
Related command: if-match packet-length, if-match acl, apply ip-precedence,
apply output-interface, apply ip-address next-hop, apply default output-interface,
apply ip-address default next-hop.
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]










