Step
3.
Configure interface PBR
based on a policy.
NOTE:
If the specified policy does not exist, the interface PBR configuration succeeds, but it takes effect only when
the policy is created.
PBR and track
Associated with a Track object, PBR can sense topology changes faster. You can associate PBR with a
track entry when configuring the outgoing interface, default outgoing interface, next hop, and default
next hop to dynamically determine link reachability. The PBR configuration takes effect when the status of
the associated Track object is Positive or Invalid.
For more information about track-PBR collaboration, see High Availability Configuration Guide.
Configuring PBR (using a QoS policy)
Before you configure PBR, complete the following tasks:
•
Configure a QoS policy by configuring the match criteria and a redirection action for PBR.
Apply the QoS policy by defining the occasion to which the PBR applies.
•
Configuring a QoS policy
To configure a QoS policy:
Step
1.
Enter system view.
2.
Create a class and enter
class view.
3.
Configure the match
criteria.
4.
Exit class view.
5.
Create a behavior and
enter behavior view.
6.
Configure a traffic
redirection action.
7.
Exit behavior view.
8.
Create a policy and enter
policy view.
9.
Associate the class with
the traffic behavior in the
QoS policy.
Command
ip policy-based-route policy-name
Command
system-view
traffic classifier tcl-name [ operator { and |
or } ]
if-match match-criteria
quit
traffic behavior behavior-name
redirect next-hop { ipv4-add1
[ ipv4-add2 ] | ipv6-add1 [ interface-type
interface-number ] [ ipv6-add2
[ interface-type interface-number ] ] }
[ fail-action { discard | forward } ]
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
380
Remarks
Not configured by default.
Remarks
N/A
N/A
N/A
N/A
N/A
Optional.
The default option for the
fail-action is forward.
N/A
N/A
N/A