Cisco Systems N5KC5596TFA Switch User Manual


 
This example shows how to enable LACP:
switch# configure terminal
switch(config)# feature lacp
Configuring the Channel Mode for a Port
You can configure the channel mode for each individual link in the LACP port channel as active or passive.
This channel configuration mode allows the link to operate with LACP.
When you configure port channels with no associated protocol, all interfaces on both sides of the link remain
in the on channel mode.
Before You Begin
Ensure that you have enabled the LACP feature.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies the interface to configure, and enters the interface
configuration mode.
switch(config)# interface type
slot/port
Step 2
Specifies the port mode for the link in a port channel. After LACP
is enabled, you configure each link or the entire channel as active
or passive.
switch(config-if)#
channel-group
channel-number [force]
[mode {on | active | passive}]
Step 3
force—Specifies that the LAN port be forcefully added to the
channel group. This option is available in Cisco NX-OS Release
5.0(2)N2(1).
mode—Specifies the port channel mode of the interface.
active—Specifies that when you enable LACP, this command
enables LACP on the specified interface. The interface is in an active
negotiating state in which the port initiates negotiations with other
ports by sending LACP packets.
on—(Default mode) Specifies that all port channels that are not
running LACP remain in this mode.
passive—Enables LACP only if an LACP device is detected. The
interface is in a passive negotiation state in which the port responds
to LACP packets that it receives but does not initiate LACP
negotiation.
When you run port channels with no associated protocol, the channel
mode is always on.
Returns the port mode to on for the specified interface.switch(config-if)# no
channel-group number mode
Step 4
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
58 78-26881-OL
Configuring Port Channels
Configuring the Channel Mode for a Port