R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
146
ip load-sharing mode { all | chassis chassis-number slot slot-number } { per-flow [ dest-ip | src-ip ] * |
per-packet }
undo ip load-sharing mode { all | chassis chassis-number slot slot-number }
Default
The load sharing mode is per-flow.
Views
System view
Default command level
2: System level
Parameters
per-flow: Enables flow-based load sharing.
src-ip: Identifies flows by source IP address.
per-packet: Enables packet-based load sharing.
all: Specifies all cards.
slot slot-number: Specifies a card. The slot-number argument refers to the card slot number. (In
standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number
of the card. (In IRF mode.)
Examples
In standalone mode:
# Configure flow-based load sharing on slot 2.
<Sysname> system-view
[Sysname] ip load-sharing mode slot 2 per-flow
In IRF mode:
Configure flow-based load sharing on slot 2 of IRF member device 1.
<Sysname> system-view
[Sysname] ip load-sharing mode chassis 1 slot 2 per-flow
load-bandwidth
Use load-bandwidth to specify the bandwidth of the interface for load sharing.
Use undo load-bandwidth to restore the default.
Syntax
load-bandwidth bandwidth
undo load-bandwidth
Default
The load sharing bandwidth of an interface is the physical bandwidth of the interface.