3Com Switch 8800 Advanced Software V5 Configuration Guide
248 CHAPTER 25: ROUTING POLICY CONFIGURATION
■ if-match clauses: Define the match criteria that routing information must
satisfy. The matching objects are some attributes of routing information.
■ apply clauses: Specify the actions performed after specified match criteria are
satisfied, concerning attribute settings for passed routing information.
Prerequisites Before configuring this task, you have completed:
■ Filtering list configuration
■ Routing protocol configuration
You also need to decide on:
■ Name of the routing policy, node sequence numbers
■ Match criteria
■ Attributes to be modified
Creating a Routing
Policy
To create a routing policy, use the following commands:
n
■ If a node has the permit keyword specified, routing information meeting the
node’s conditions will be handled using the apply clauses of this node, without
needing to match against the next node. If routing information does not meet
the node’s conditions, it will go to the next node for a match.
■ If a node is specified as deny, the apply clauses of the node will not be
executed. When routing information meets all if-match clauses, it cannot pass
the node, nor can it go to the next node. If route information cannot meet any
if-match clause of the node, it will go to the next node for a match.
■ When a routing policy is defined with more than one node, at least one node
should be configured with the permit keyword. If the routing policy is used to
filter routing information, routing information that does not meet any node’s
conditions cannot pass the routing policy. If all nodes of the routing policy are
set using the deny keyword, no routing information can pass it.
Defining if-match
Clauses for the Routing
Policy
To define if-match clauses for a route-policy, use the following command:
To do... Use the command... Remarks
Enter system view system-view -
Create a routing
policy and enter its
view
route-policy
route-policy-name { permit |
deny } node node-number
Required
To do...
Use the
command...
Remarks
Enter system view system-view -
Enter routing policy view route-policy
route-policy-name {
permit | deny }
node node-number
Required