371
Does a packet match
all the if-match clauses
Permit Deny
No.
PBR compares the packet with the next
node.
PBR compares the packet with the
next node.
A node that has no if-match clauses matches any packet.
PBR and Track
PBR can work with the Track feature to dynamically adapt the availability status of an apply clause to
the link status of a tracked object. The tracked object can be a next hop.
• When the track entry associated with an object changes to Negative, the apply clause is
invalid.
• When the track entry changes to Positive or NotReady, the apply clause is valid.
For more information about Track-PBR collaboration, see High Availability Configuration Guide.
PBR configuration task list
(Required.) Configuring a policy:
• Creating a node
• Setting match criteria for a node
• Configuring actions for a node
(Required.) Specifying a policy for PBR
• Specifying a policy for local PBR
• Specifying a policy for interface PBR
Configuring a policy
Creating a node
1. Enter system view.
system-view
N/A
2. Create a node for a policy, and
enter its view.
policy-based-route
policy-name
[
deny
|
permit
]
node
node-number
By default, no policy nodes
exist.
Setting match criteria for a node
1. Enter system view.
system-view
N/A
2. Enter policy node view.
policy-based-route
policy-name
N/A