PBR configuration task list
Tasks at a glance
(Required.)
•
Creating a node
•
Setting match criteria for a node
•
Configuring actions for a node
(Required.)
•
Configuring local PBR
•
Configuring interface PBR
Configuring a policy
Creating a node
Step
1.
Enter system view.
2.
Create a node for a policy, and
enter policy node view.
Setting match criteria for a node
Step
1.
Enter system
view.
2.
Enter policy
node view.
3.
Set an ACL
match criterion.
4.
Set a service
chain match
criterion.
NOTE:
If an ACL match criterion is defined, packets are compared with the ACL rules, and the permit or
deny action and the time range of the specified ACL are ignored. If the specified ACL does not exist,
no packet is matched.
Configuring a
policy:
Configuring
PBR:
Command
system-view
policy-based-route policy-name [ deny | permit ] node
node-number
if-match acl { acl-number | name acl-name }
if-match service-chain { path-id service-path-id
[ path-index service-patch-index ] }
Command
system-view
policy-based-route policy-name
[ deny | permit ] node
node-number
382
Remarks
N/A
By default, no policy node is
created.
Remarks
N/A
N/A
By default, no ACL
match criterion is set.
By default, no service
chain match criterion is
set.
A policy that contains
this clause is not
supported on Layer 3
Ethernet
subinterfaces.