Step
5.
Set next hops.
6.
Set default next hops.
Configuring local PBR
Only one policy can be referenced for local PBR.
To configure local PBR:
Step
1.
Enter system view.
2.
Configure local PBR based on a
policy.
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:
Step
1.
Enter system view.
2.
Enter interface view.
Command
apply ip-address next-hop ip-address
[ direct ] [ track track-entry-number ]
[ ip-address [ direct ] [ track
track-entry-number ] ]
apply ip-address default next-hop
ip-address [ track track-entry-number ]
[ ip-address [ track track-entry-number ] ]
Command
system-view
ip local policy-based-route
policy-name
Command
system-view
interface interface-type
interface-number
379
Remarks
Optional.
You can specify two next hops at a
time.
•
For local PBR, both the two next
hops take effect to implement
load sharing.
•
For interface PBR, the first next
hop serves as the main next
hop and the second one serves
as the backup next hop.
Optional.
You can specify two next hops at a
time.
•
For local PBR, both the two next
hops take effect to implement
load sharing.
•
For interface PBR, the first next
hop serves as the main next
hop and the second one serves
as the backup next hop.
Remarks
N/A
Not configured by default.
Remarks
N/A
N/A