xStack Gigabit Layer 3 Switch Command Line Interface Manual
Parameters
group _id <value 1-32>
−
Specifies the group ID. The Switch allows
up to 32 link aggregation groups to be configured. The group
number identifies each of the groups.
master_port <port>
−
Master port ID. Specifies which port (by port
number) of the link aggregation group will be the master port. All of
the ports in a link aggregation group will share the port configuration
with the master port. The port is specified by listing the switch
number and the port number on that switch, separated by a colon.
For example, 1:3 specifies switch number 1, port 3. 2:4 specifies
switch number 2, port 4.
ports <portlist>
−
Specifies a range of ports that will belong to the
link aggregation group. The port list is specified by listing the lowest
switch number and the beginning port number on that switch,
separated by a colon. Then the highest switch number, and the
highest port number of the range (also separated by a colon) are
specified. The beginning and end of the port list range are separated
by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4
specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports
between switch 1, port 3 and switch 2, port 4
−
in numerical order.
Ports may be listed in only one port aggregation group, that is, link
aggregation groups may not overlap.
state [enable | disable]
−
Allows you to enable or disable the
specified link aggregation group.
Restrictions Only
administrator-level users can issue this command. Link
aggregation groups may not overlap.
Example usage:
To define a load-sharing group of ports, group-id 1,master port 5 of module 1 with group members ports 5-7 plus port
9:
DGS-3324SRi:4#config link_aggregation group_id 1 master_port
1:5 ports 1:5-1:7, 1:9
Command: config link_aggregation group_id 1 master_port 1:5
ports 1:5-1:7, 1:9
Success.
DGS-3324SRi:4#
config link_aggregation algorithm
Purpose
Used to configure the link aggregation algorithm.
Syntax
config link_aggregation algorithm [mac_source |
mac_destination | mac_source_dest | ip_source |
ip_destination | ip_source_dest]
Description
This command configures to part of the packet examined by the
Switch when selecting the egress port for transmitting load-sharing
data. This feature is only available using the address-based load-
sharing algorithm.
Parameters
mac_source
−
Indicates that the Switch should examine the MAC
source address.
132