R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
281
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 HSR6800 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 (in standalone mode).
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 configuration (in IRF mode).
display ip policy-based-route setup
{ policy-name | interface
interface-type interface-number
[ chassis chassis-number slot
slot-number ] | local [ chassis
chassis-number slot slot-number ] }
[ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display PBR statistics (in standalone mode).
display ip policy-based-route
statistics { interface interface-type
interface-number | local } [ slot
slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.