The load sharing criteria that you configure will overwrite the previous criteria.
If unsupported load sharing criteria are configured, an error prompt will appear.
In system view, the switch supports the following load sharing criteria and combinations:
•
Load sharing criteria automatically determined based on the packet type
Source IP address
•
Destination IP address
•
Source MAC address
•
Destination MAC address
•
•
Source IP address and destination IP address
Source IP address and source port
•
Destination IP address and destination port
•
Source IP address, source port, destination IP address, and destination port
•
Any combination of incoming port, source MAC address, and destination MAC address
•
Examples
# Configure the destination MAC address as the global link-aggregation load sharing criterion.
<Sysname> system-view
[Sysname] link-aggregation global load-sharing mode destination-mac
Related commands
link-aggregation load-sharing mode
link-aggregation ignore vlan
Use link-aggregation ignore vlan to configure a Layer 2 aggregate interface to ignore the specified
VLANs.
Use undo link-aggregation ignore vlan to restore the default.
Syntax
link-aggregation ignore vlan vlan-id-list
undo link-aggregation ignore vlan vlan-id-list
Default
A Layer 2 aggregate interface does not ignore any VLANs.
Views
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id-list: Specifies a list of VLANs to be ignored in the format of vlan-id-list = { vlan-id1 [ to
vlan-id2 ] }&<1- 1 0>, where vlan-id1 and vlan-id2 are both in the range of 1 to 4094, vlan-id2 cannot be
smaller than vlan-id1, and &<1- 1 0> indicates that you can specify up to 10 vlan-id1 [ to vlan-id2 ]
parameters.
81