Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
341
40. Link Aggregation Control Protocol (LACP)
Commands
40-1 channel-group
This command is used to assign an interface to a channel group. Use the no form of the 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 32.
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: 12.
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 the command 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.
If the security function is enabled on a port, then this port cannot be specified as a channel group member.
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 eth1/0/4-1/0/5
Switch(config-if)# channel-group 3 mode active
Switch(config-if)#