Displaying and Debugging IP Policy Routing 493

Enabling and Disabling Local Policy Routing

Operation

Command

 

 

Cancel apply clauses setting message

undo apply ip precedence

precedence

 

 

 

Set message transmitting interface

apply interface type number

 

 

Cancel apply clauses setting message

no apply interface

transmitting interface

 

 

 

Set message default transmitting interface

apply default interface type number

 

 

Cancel apply clauses setting message

undo apply default interface

default sending interface

 

 

 

Set message next-hop

apply ip next-hop ip-address

 

 

Cancel apply clauses setting message

undo apply ip next-hop

next-hop

 

 

 

Set message default next-hop

apply ip default next-hop ip-address

 

 

Cancel apply clauses setting message

undo apply ip default next-hop

default next-hop

 

 

 

You can specify multiple next-hops or send the message to multiple interfaces. Generally, only the first parameter works. If the first parameter is mismatched, the second parameter will take effect, and so on.

By default, no apply clause is defined.

Perform the following configurations in system view.

Table 571 Enable/Disable the Local Policy Routing

Operation

Command

 

 

Enable local policy routing

ip local policy route-policy

 

policy-name

 

 

Disable local policy routing

undo ip local policy route-policy

 

 

By default, local policy routing is disabled. Only one local policy route can be configured.

Enabling and Disabling Perform the following configurations in interface view

Interface Policy Routing

Table 572 Enable/Disable Interface Policy Routing

 

 

 

 

 

Operation

Command

 

 

 

 

Enable interface policy routing

ip policy route-policy policy-name

 

 

 

 

Disable interface policy routing

undo ip policy route-policy

 

 

 

By default, interface policy routing is disabled.

Displaying and

Debugging IP Policy

Routing

Perform the following configurations in all views.

Table 573 Display and Debug IP Policy Routing

Operation

Command

 

 

Turn on the debugging information switch

debugging ip policy-routing

of policy routing

 

 

 

Page 497
Image 497
3Com 10014299 manual Displaying Debugging IP Policy Routing, Enable/Disable Interface Policy Routing