DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
92
19.
Link Aggregation Control Protocol
(LACP)Commands
19-1
channel-group
This command is used to assign an interface to a channel group. Use the
no
form of this command to remove
an interface from a channel-group.
channel-group
CHANNEL-NO
mode {on | active | passive}
no channel-group
Parameters
CHANNEL-NO
Specifies the channel group ID. The valid range is 1 to 6.
on
Specifies that the interface is a static member of the channel-group.
active
Specifies the interface to operate in LACP active mode.
passive
Specifies the interface to operate in LACP passive mode.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
The command is available for physical port interface configuration. The system will automatically create the
port-channel when a physical port first joins a channel group. An interface can only join one channel-group.
If the mode on is specified in the command, the channel group type is static. If the mode active or passive is
specified in the command, the channel group type is LACP. A channel group can only consist of either static
members or LACP members. Once the type of channel group has been determined, other types of interfaces
cannot join the channel group.
Use the no form of this command to remove the interface from the channel group. If the channel group has no
member ports left after a port is removed, the channel group will be deleted automatically. A port channel can
also be removed by the
no interface port-channel
command.
Example
This example shows how to assign Ethernet interfaces 1/0/4 to 1/0/5 to a new LACP channel-group, with an ID
of 3, and sets the LACP mode to active.
Switch# configure terminal
Switch(config)# interface range Ethernet 1/0/4-5
Switch(config-if-range)# channel-group 3 mode active
Switch(config-if-range)#