R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

280
Ste
p
Command
Remarks
9. Set default output interfaces.
apply default output-interface
interface-type interface-number
[ track track-entry-number ]
[ interface-type interface-number
[ track track-entry-number ] ]
Optional.
You can specify up to two default
output interfaces to achieve load
sharing.
10. Set default next hops.
apply ip-address default next-hop
ip-address [ direct ] [ track
track-entry-number ] [ ip-address
[ direct ] [ track
track-entry-number ] ]
Optional.
You can specify up to two default
next hops to achieve load sharing.
11. Set two default next hops to
operate in active/standby
mode.
apply ip-address default next-hop
standby
Optional.
By default, both default next hops
take effect to achieve load sharing.
12. Match packets against the
next node upon match failure
on the current node.
apply fail-action continue
Optional.
Use this command only when the
match mode of the node is permit.
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.
Do not configure local PBR unless required.
To configure local PBR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Apply a policy locally.
ip local policy-based-route
policy-name
Not applied by default.
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.