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