F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
546
Ste
p
Command
Remarks
651. Enter system view. system-view N/A
652. Apply a policy locally.
ip local policy-based-route policy-name Not applied by default.
1557BConfiguring 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
653. Enter system view.
system-view N/A
654. Enter interface view.
interface interface-type interface-number N/A
655. Apply a policy on the interface. ip policy-based-route policy-name Not applied by default.
737BDisplaying 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.
738BPBR configuration examples
1558BConfiguring local PBR based on packet type
1. Network requirements