3Com 10014299 Network Router User Manual


 
492 CHAPTER 32: CONFIGURING IP POLICY ROUTING
Creating a Routing
Policy
The strategy specified with the strategy name may have several strategy points
and each strategy point is specified with sequence-num. The smaller the
sequence-num, the higher the preference and the defined strategy will be
executed first. This strategy can be used to import routes and perform policy
routing when IP messages are forwarded. When a routing policy is recreated, the
configuration information of the new routing policy overwrites that of the old
routing policy. The contents of the strategy is specified by if-match and apply
clauses.
See “Configuring IP Routing Policy” for details.
Perform the following configurations in system view.
Table 568 Create a Routing Policy
permit means policy routing for the messages meets the conditions and deny
means no policy routing for the message meets the conditions.
By default, no strategy is created.
Define Match Rules IP policy routing provides two if-match clauses that allow matching strategy
according to IP message length and IP address. One strategy includes multiple
if-match clauses, which can be used in combination.
Perform the following configurations in Routing policy view.
Table 569 Define Match Rules
By default, no if-match clause is defined.
Define Apply Clause IP policy routing provides 5 apply clauses. One strategy includes multiple apply
clauses, which can be used in combination.
Perform the following configurations in Routing policy view.
Table 570 Define Apply Clause
Operation Command
Create a routing policy and enter into the
Routing policy view
route-policy policy-name { permit |
deny} { seq-number }
Delete a routing policy no route-policy policy-name [ permit
| deny ] [ seq-number ]
Operation Command
Specify IP message matching the length if-match length min-len max-len
Remove IP message matching the length no if-match length
Specify IP address matching the specified
access lists
if-match ip address acl-number
Remove IP address matching the specified
access lists
undo if-match ip address
Operation Command
Set message precedence apply ip precedence precedence