Cisco Systems N5KC5596TFA manual Configuring the Channel Mode for a Port, channel-group, Procedure

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 70
Image 70
Configuring the Channel Mode for a Port

Configuring Port Channels

Configuring the Channel Mode for a Port

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

 

Command or Action

Step 1

switch# configure terminal

Step 2

switch(config)# interface type

 

slot/port

Step 3

switch(config-if)#

 

channel-group

 

channel-number [force]

 

[mode {on active passive}]

Step 4 switch(config-if)# no

channel-group number mode

channel-group Purpose

[mode {on active passive}] Enters configuration mode.

Specifies the interface to configure, and enters the interface configuration mode.

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.

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.

 

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

58

78-26881-OL

Page 70
Image 70
Cisco Systems N5KC5596TFA Configuring the Channel Mode for a Port, channel-group, mode on active passive, Before You Begin