Chapter 5: Switching Commands 445
addport This command adds one port to the port-channel (LAG). The first interface is a
logical 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 0/1-0/4.
Instead of 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.
Before adding a port to a port-channel, set the physical mode of the port. For
more information, see āspeedā on page 312.
deleteport (Interface
Config)
This command deletes a port or a range of ports from the port-channel (LAG).
The interface is a logical slot/port number of a configured port-channel (or range
of port-channels). Instead of 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 slot/port number of a configured port-channel.Instead of
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.
Format
addport
logical
slot/port
Mode Interface Config
Format
deleteport
logical
slot/port
Mode Interface Config
Format
deleteport {
logical
slot/port | all}
Mode Global Config