90 CHAPTER 4: PORT COMMANDS
set port-group Configures a load-sharing port group. All ports in the group function as a
single logical link.
Syntax —
set port-group name group-name port-list
mode {on | off}
name group-name — Alphanumeric string of up to 255 characters,
with no spaces.
port-list — List of physical ports. All the ports you specify are
configured together as a single logical link.
mode {on | off} — State of the group. Use on to enable the group
or off to disable the group. The group is enabled by default.
Defaults — Once configured, a group is enabled by default.
Access — Enabled.
History — Introduced in MSS Version 3.0.
Usage — You can configure up to 8 ports in a port group, in any
combination of ports. The port numbers do not need to be contiguous
and you can use 10/100 Ethernet ports and gigabit Ethernet ports in the
same port group.
After you add a port to a port group, you cannot configure port
parameters on the individual port. Instead, change port parameters on
the entire group. Specify the group name instead of an individual port
name or number in port configuration commands.
To add or remove ports in a group that is already configured, change the
mode to off, add or remove the ports, then change the mode to on.
Examples — The following command configures a port group named
server1 containing ports 1 through 5, and enables the link:
WX1200# set port-group name server1 1-5 mode on
success: change accepted.
The following commands disable the link for port group server1,
change the list of ports in the group, and reenable the link:
WX1200# set port-group name server1 1-5 mode off
success: change accepted.
WX1200# set port-group name server1 1-4,7 mode on
success: change accepted.