Configuring local pbr, Configuring interface pbr – H3C Technologies H3C S10500 Series Switches User Manual
Page 386

371
NOTE:
•
If a policy has a node with no if-match clause configured, all packets can pass 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 policy has a node with the permit match mode but no apply clause configured, all packets matching
all the if-match clauses can pass 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.
•
If a policy has a node with no if-match or apply clauses configured, all packets can pass 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.
Follow these steps to configure local PBR:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure local PBR based on a
policy
ip local policy-based-route
policy-name
Required
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.
Follow these steps to configure interface PBR:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure interface PBR based on
a policy
ip policy-based-route policy-name
Required
Not configured by default.
NOTE:
If the specified policy does not exist, the interface PBR configuration succeeds, but it takes effect only when
the policy is created.