Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
315
channel-group
channel-group <1-4096> [mode {on | active | passive}]
no channel-group
Assigns and configures a physical interface to a port channel.
The no form of the command removes a physical interface from the port-channel.
Syntax Description 1-4096 The port channel number.
mode on Static assignment the port to LAG. LACP will not be
enabled on this port.
mode active/passive Dynamic assignment of the port to LAG. LACP will be
enabled in either passive or active mode.
Default N/A
Modes/Context Config interface ethernet
History 3.1.1400
Role admin
Example
switch (config interface 1/7)# channel-group 1 mode active
switch (config interface 1/7)# show interfaces port-channel summary
Flags: D- Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
U - Up (port-channel)
----------------------------------------------------------------------
Group Port- Type Member Ports
Channel
---------------------------------------------------------------------
1 Po1(D) LACP Eth1/7(D)
switch (config interface 1/7)#
Related Commands show interfaces port-channel summary
show interfaces port-channel compatibility-parameters
show lacp interfaces ethernet
Note
Setting the mode to active/passive is possible only in LACP is enabled.
The first port in the LAG decide if the LAG will be static (“on”) or LACP (“active” ,
“pasive”).
All the ports in the LAG must have the same configuration, determines by the first port
added to the LAG. The port with a different configuration will be rejected, for the list of
dependencies refer to ‘show interfaces port-channel compatibility-parameters’