OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Link Aggregation Commands : channel-group mode
channel-group mode
Use this command to add an interface to an existing link aggregation group.
After you execute this command, the interface loses its properties and takes the properties of the aggregated interface.
Use the no parameter with this command to remove an interface from a dynamic link aggregation group. When you remove an interface from a LAG, the interface acquires the default interface properties.
Command Syntax
channel-group <1-16383> mode (active|passive)
no channel-group
Parameters
<1-16383>
Specify a channel group number (with DRNI).
mode
Specify a channel mode.
active
Enable LACP negotiation.
passive
Disable LACP negotiation.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface xe1
(config-if)#switchport
(config-if)#channel-group 1 mode active
(config-if)#exit
 
#sh run in po1
!
interface po1
switchport
The is an example of no channel-group:
#configure terminal
(config)#interface xe1
(config-if)#switchport
(config-if)#no channel-group
(config-if)#exit
 
#sh run in xe1
!
interface xe1 switchport
!
#sh run in po1
!
interface po1
switchport
!
Last modified date: 10/12/2023