Ethernet Switch CLI Reference Guide
175
C
H A P T E R
3 6
Load Sharing Commands
36.1 Load Sharing Overview
The Switch learns the next-hop(s) using ARP and determines routing path(s) for a destination.
The Switch supports Equal-Cost MultiPath (ECMP) to forward packets destined to the same
device through different routing paths of equal path cost. This allows you to balance or share
traffic loads between multiple routing paths when the Switch is connected to more than one
next-hop. ECMP works with static routes or a routing protocol, such as OSPF.
With ECMP, packets are routed through the paths of equal cost according to the hash
algorithm output.
36.2 Command Summary
The following section lists the commands for this feature.
Table 98
load-sharing Command Summary
COMMAND
DESCRIPTION
M
P
ip load-sharing
Enables load sharing on the Switch.
C
13
ip load-sharing <sip|sip-dip>
Sets the criteria the Switch uses to determine the routing path
for a packe.
sip
: the Switch uses a hash algorithm to convert a packet’s
source IP address into a hash value which acts as an index to
a route path.
sip-dip
: the Switch uses a hash algorithm to convert a
packet’s source and destination IP addresses into a hash
value which acts as an index to a route path.
C
13
ip load-sharing aging-time <0-
86400>
Sets the time interval (from 0 to 86400 in increments of 10) in
seconds at which the Switch sends an ARP request to update
a resolved next-hop’s MAC address.
C
13
ip load-sharing discover-time
<0-86400>
Sets the time interval (from 0 to 86400 in increments of 10) in
seconds at which the Switch sends an ARP request to update
an unresolved next-hop’s MAC address.
C
13
no ip load-sharing
Disables load sharing on the Switch.
C
13