3Com 10014299 manual Create a Routing Policy, Define Match Rules, Define Apply Clause

Models: 10014299

1 762
Download 762 pages 3.46 Kb
Page 496
Image 496

492CHAPTER 32: CONFIGURING IP POLICY ROUTING

Creating a Routing The strategy specified with the strategy name may have several strategy points Policy 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

Operation

Command

 

 

Create a routing policy and enter into the

route-policy policy-name{ permit

Routing policy view

deny} { seq-number }

 

 

Delete a routing policy

no route-policy policy-name[ permit

 

deny ] [ seq-number]

 

 

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

Operation

Command

 

 

Specify IP message matching the length

if-match length min-lenmax-len

 

 

Remove IP message matching the length

no if-match length

 

 

Specify IP address matching the specified

if-match ip address acl-number

access lists

 

 

 

Remove IP address matching the specified

undo if-match ip address

access lists

 

 

 

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

 

 

 

 

Set message precedence

apply ip

precedence precedence

 

 

 

Page 496
Image 496
3Com 10014299 manual Create a Routing Policy, Define Match Rules, Define Apply Clause