HP VPN Firewall Appliances Network Management Configuration Guide

552
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Apply a policy locally.
ip local policy-based-route policy-name Not applied by default.
Configuring interface PBR
Configure PBR by applying a policy on an interface. PBR uses the policy to guide the forwarding of
packets received on the interface.
You can apply only one policy to an interface. If you perform the ip policy-based-route command
multiple times, only the last specified policy takes effect.
If the specified policy does not exist, the interface PBR configuration succeeds, but it does not take effect
until the policy is created.
You can apply the same policy on multiple interfaces.
To configure interface PBR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Apply a policy on the interface.
ip policy-based-route policy-name Not applied by default.
Displaying and maintaining PBR
Task Command
Remarks
Display PBR configuration
for a policy.
display policy-based-route [ policy-name ] [ | { begin
| exclude | include } regular-expression ]
Available in any view.
Display information about
local PBR and interface
PBR.
display ip policy-based-route [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display PBR
configuration.
display ip policy-based-route setup { interface
interface-type interface-number | local |
policy-name } [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display PBR statistics.
display ip policy-based-route statistics { interface
interface-type interface-number | local } [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Clear PBR statistics. reset policy-based-route statistics [ policy-name ] Available in user view.
PBR configuration examples
Configuring local PBR based on packet type
1. Network requirements