Command Reference Guide

Port-Channel/LAG (802.3ad) Commands
CLI Command Reference
September 2014 Page 369
HP Moonshot Switch Module CLI Command Reference
addport
This command adds one port to the port-channel (LAG). The first interface is a logical unit/slot/port number
of a configured port-channel. You can add a range of ports by specifying the port range when you enter
Interface Config mode (for example:
interface 1/0/1-1/0/4. Instead of unit/slot/port, lag lag-group-id can
be used as an alternate way to specify the LAG interface.
lag lag-group-id can also be used to specify the LAG
interface where
lag-intf-num is the LAG port number.
deleteport (Interface Config)
This command deletes a port or a range of ports from the port-channel (LAG). The interface is a logical unit/
slot/port number of a configured port-channel (or range of port-channels). Instead of unit/slot/port, lag
lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used
to specify the LAG interface where
lag-intf-num is the LAG port number.
deleteport (Global Config)
This command deletes all configured ports from the port-channel (LAG). The interface is a logical unit/slot/
port number of a configured port-channel. Instead of unit/slot/port, lag lag-intf-num can be used as an
alternate way to specify the LAG interface.
lag lag-intf-num can also be used to specify the LAG interface
where
lag-intf-num is the LAG port number.
Note: Before adding a port to a port-channel, set the physical mode of the port. For more
information, see “speed on page 272.
Format
addport {unit/slot/port | lag lag-group-id}
Mode Interface Config
Format
deleteport {unit/slot/port | lag lag-group-id}
Mode Interface Config
Format
deleteport {unit/slot/port | all}
Mode Global Config