R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
592
next-hop: Enables load sharing among multiple next hops.
output-interface: Enables load sharing among multiple output interfaces.
Usage guidelines
Multiple next hops, output interfaces, default next hops, or default output interfaces operate in either
primary/backup or load sharing mode. For example:
• Primary/backup mode—The first configured next hop is used. When the primary next hop fails, the
first configured backup next hop takes over.
• Load sharing mode—Multiple next hops load share traffic on a per-packet basis in turn, according
to the configuration order.
Examples
# Enable load sharing among multiple next hops.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 11
[Sysname-pbr6-aa-11] apply next-hop 1::1 2::2
[Sysname-pbr6-aa-11] apply loadshare next-hop
# Enable load sharing among multiple output interfaces.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 11
[Sysname-pbr6-aa-11] apply output-interface Vlan-interface 1 Vlan-interface 2
[Sysname-pbr6-aa-11] apply loadshare output-interface
# Enable load sharing among multiple default next hops.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 11
[Sysname-pbr6-aa-11] apply default-next-hop 1::1 2::2
[Sysname-pbr6-aa-11] apply loadshare default-next-hop
# Enable load sharing among multiple default output interfaces.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 11
[Sysname-pbr6-aa-11] apply default-output-interface Vlan-interface 1 Vlan-interface 2
[Sysname-pbr6-aa-11] apply loadshare default-output-interface
Related commands
• apply default-next-hop
• apply default-output-interface
• apply next-hop
• apply output-interface
apply next-hop
Use apply next-hop to set a next hop.
Use undo apply next-hop to remove the configuration.
Syntax
apply next-hop [ vpn-instance vpn-instance-name | inbound-vpn ] { ipv6-address [ direct ] [ track
track-entry-number ] } &<1-n>