Configuring Pbr - HPE 5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

Step
Set next hops.
4.
Set default next hops.
5.
NOTE:
You can configure two next hops by using the apply ip-address next-hop command or the apply
ip-address default next-hop command. To modify the configured next hop, execute the undo form
of the corresponding command.

Configuring PBR

Configuring local PBR
Configure PBR by applying a policy locally. PBR uses the policy to guide the forwarding of locally
generated packets.
You can apply only one policy locally. If you perform the ip local policy-based-route command
multiple times, only the last specified policy takes effect.
If the specified policy does not exist, the local PBR configuration succeeds, but it does not take effect
until the policy is created.
When you configure local PBR, the next hop must belong to the public network instead of a VPN.
Do not configure local PBR unless required.
To configure local PBR:
Step
Enter system view.
1.
Apply a policy locally.
2.
Configuring interface PBR
Configure PBR by applying a policy on an interface. PBR uses the policy to guide the forwarding of
packets received on the interface.
You can apply only one policy to an interface. If you perform the ip policy-based-route command
multiple times, only the last specified policy takes effect.
If the specified policy does not exist, the interface PBR configuration succeeds, but it does not take
effect until the policy is created.
You cannot apply any policy in tunnel interface view.
You can apply the same policy on multiple interfaces.
To configure interface PBR:
Command
apply ip-address next-hop
[ vpn-instance
vpn-instance-name ] ip-address
[ direct ] [ track
track-entry-number ] [ ip-address
[ direct ] [ track
track-entry-number ] ]
apply ip-address default
next-hop [ vpn-instance
vpn-instance-name ] ip-address
[ track track-entry-number ]
[ ip-address [ track
track-entry-number ] ]
Command
system-view
ip local policy-based-route
policy-name
368
Remarks
Optional.
You can specify up to two next
hops to achieve load sharing.
Optional.
You can specify up to two default
next hops to achieve load
sharing.
Remarks
N/A
Not applied by default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents