R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide

280
If the specified policy does not exist, the interface PBR configuration succeeds, but it does not take effect
until the policy is created.
To configure interface PBR on a VLAN interface of an 6600 router that operates in gateway mode and
is configured with SAP modules, use the redirect command to configure a traffic redirecting action for the
VLAN. For more information about configuring traffic redirecting actions, see ACL and QoS
Configuration Guide.
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
{ policy-name | interface
interface-type interface-number
[ slot slot-number ] | local [ slot
slot-number ] } [ | { begin | exclude
| include } regular-expression ]
Available in any
view.
Display PBR statistics.
display ip policy-based-route
statistics { interface interface-type
interface-number | local } [ slot
slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Clear PBR statistics.
reset policy-based-route statistics
[ policy-name ]
Available in user
view.