channel-group

Assigns and configures a physical interface to a link aggregation group (LAG).

Syntax

channel-group number mode { on | active | passive }
no channel-group

Parameters

number
Specifies the number of the channel groups. Valid range is from 1 through 255.
mode
Specifies the LAG mode of the interface.
on
Specifies that all LAGs that are not running LACP remain in this mode. This is the default mode.
active
Enables LACP on the specified interface.
passive
Enables LACP only if an LACP device is detected.

Modes

Interface config mode

Usage Guidelines

This command is available only to users with the admin role.

The LAG in the on channel mode is a pure LAG (static-lag), and can aggregate a maximum of 64 ports.

Validations for the command are as follows:

The no channel-group command removes the interface from the channel-group.

Examples

The following examples configure a physical interface to the channel-group.

device# configure terminal 
device# interface ethernet 1/1 
device#(config-if-eth-1/1)# channel-group 1 mode on 
device#(config-if-eth-1/1)# no shutdown 
device#(config-if-eth-1/1)# end 

device# show running-config 
interface ethernet 1/1 
  channel-group 1 mode on 
  no shutdown 

device# configure terminal 
device(config)# interface port-channel 100 
device(config-if-po-100)# no shutdown 
device(config-if-po-100)# exi 
device(config)# 
device(config)# interface ethernet 1/8:1 
device(config-if-eth-1/8:1)# channel-group 100 mode active

device# show running-config 
protocol lacp 
hardware 
  connector 1/8 
    breakout 4x10g 
  connector 2/8 
    breakout 4x10g 
interface port-channel 100 
  no shutdown 
interface ethernet 1/8:1 
  channel-group 100 mode active 
  no shutdown 
interface ethernet 1/8:2