The load-balance instance command sets the load-balancing instances for a Smart Link group.
The undo load-balance instance command deletes load-balancing instances for a Smart Link group.
load-balance instance { instance-id1 [ to instance-id2 ] } &<1-10> slave
undo load-balance instance { all | { instance-id1 [ to instance-id2 ] } &<1-10> [ slave ] }
Parameter |
Description |
Value |
---|---|---|
instance-id1 [ to instance-id2 ] | Specifies ID of a Smart Link instance.
|
- |
slave |
Indicates that the slave interface sends packets of the specified Smart Link instances. |
- |
all |
Deletes all load-balancing instances of a Smart Link group. |
- |
Usage Scenario
If load balancing is not configured for a Smart Link group, only the active link transmits data traffic and the standby link is idle.
The load-balance instance command implements load balancing in a Smart Link group. When both links in the Smart Link group are Up, the standby link transmits the traffic from the VLANs mapping the specified instances.
The instances specified in the command are Multiple Spanning Tree Protocol (MSTP) instances. Each instance maps a range of VLANs. Multiple instances can be bound to the standby link to implement load balancing.
Prerequisites
A Smart Link group has been created using the smart-link group command, and VLANs have been mapped to the specified instances using the instance command.
Follow-up Procedure
After configuring load balancing in a Smart Link group, you can use the display smart-link group command to verify the configuration.
Precautions
The VLANs mapping the instances in the command cannot be used as the control VLAN ID of Flush packets sent by the local device.
Before you run the load-balance instance command in a Smart Link group, the Smart Link group must be disabled.
The load balancing instance specified by the load-balance instance command must be in the protected instance list by the protected-vlan reference-instance command.