Configuring local pbr, Configuring interface pbr – H3C Technologies H3C SR8800 User Manual

Page 284

Advertising
background image

268

NOTE:

If an ACL match criterion is defined, packets are matched against the ACL rules, whereas the permit or
deny action of the specified ACL is ignored. If the specified ACL does not exist, no packet is matched.

You can configure two next hops by using the apply ip-address next-hop command twice (first case) or
once (second case). After that, executing the apply ip-address next-hop command with a new next hop

will replace the earlier configured next hop in the first case, or will replace the second next hop specified

in the second case. To remove both next hops, execute the apply ip-address next-hop command again
by specifying two next hops.

The rule you add to an ACL that has been used by a policy cannot take effect if hardware resources are
insufficient or the policy does not support the rule. Such rules are marked as uncompleted in the output

of the display acl {

acl-number | all | name acl-name } slot slot-number command. To successfully

apply the rule, you must delete the rule and reconfigure it when hardware resources are sufficient. For

more information about the display acl command, see

ACL and QoS Command Reference.

CAUTION:

If a policy node has no if-match clause configured, all packets can match the policy node. However, an
action is taken according to the match mode, and the packets will not go to the next policy node for a

match.

If a permit-mode policy node has no apply clause configured, packets matching all the if-match clauses
of the node can pass the policy node, and no action is taken. The matching packets will not go to the

next policy node for a match, and will be forwarded according to the routing table.

If a policy node has neither if-match nor apply clauses configured, all packets can match the policy
node. However, no action is taken. The packets will not go to the next policy node for a match, and will
be forwarded according to the routing table.

Configuring local PBR

Only one policy can be referenced for local PBR.
To configure local PBR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure local PBR.

ip local policy-based-route
policy-name

Not configured by default

NOTE:

If the specified policy does not exist, the local PBR configuration succeeds, but it takes effect only when the
policy is created.

Configuring interface PBR

Only one policy can be referenced by an interface for interface PBR.
To configure interface PBR:

Advertising