F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

323
You can apply only one policy locally. If you perform the ip local policy-based-route command multiple
times, only the last specified policy takes effect.
If the specified policy does not exist, the local PBR configuration succeeds, but it does not take effect until
the policy is created.
Do not configure local PBR unless required.
To configure local PBR:
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.