All packets can match a node where no if-match clauses are configured.
If a permit-mode node has no apply clause, packets matching all the if-match clauses of the node are
forwarded according to the routing table.
If a node has no if-match or apply clauses configured, all packets can match the node and are
forwarded according to the routing table.
PBR and Track
You can use Track to monitor the output interface, default output interface, next hop, and default next hop
for PBR so that PBR can discover link failures faster. PBR takes effect when the status of the associated
track entry is positive or invalid.
For more information about Track-PBR collaboration, see High Availability Configuration Guide.
PBR configuration task list
Task
Configuring a policy
Configuring PBR
Configuring a policy
Creating a node
Step
1.
Enter system view.
2.
Create a node for a policy and enter policy
node view.
Configuring match criteria for a node
Step
1.
Enter system view.
2.
Enter policy node view.
3.
Configure an ACL match
criterion.
4.
Configure a packet length
match criterion.
Creating a node
Configuring match criteria for a node
Configuring actions for a node
Configuring local PBR
Configuring interface PBR
Command
system-view
policy-based-route policy-name [ deny |
permit ] node node-number
if-match acl acl-number
if-match packet-length min-len max-len
262
Command
system-view
policy-based-route policy-name [ deny | permit ] node
node-number
Remarks
Required.
Required.
Perform one of the tasks.
Remarks
N/A
N/A
Optional.
Optional.