R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

358
PBR configuration task list
Tasks at a
g
lance
(Required.) Configuring a policy:
Creating a node
Configuring 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
Ste
p
Command
Remarks
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.
Configuring match criteria for a node
Ste
p
Command Remarks
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. Configure an ACL
match criterion.
if-match acl acl-number{ acl-number | name acl-name }
By default, no ACL
match criterion is
configured.
4. Configure a
packet length
match criterion.
if-match packet-length min-len max-len
By default, no packet
length match criterion is
configured.
NOTE:
Implementation of the permit or deny action and the time ran
g
e of the specified ACL that an ACL match
criterion uses depends on the device model.
Configuring actions for a node
Ste
p
Command Remarks
1. Enter system
view.
system-view N/A