Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-289
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set channelprotocol
set channelprotocol
To set the protocol that manages channeling on a module, use the set channelprotocol command.
set channelprotocol {pagp | lacp} mod
Syntax Description
Defaults The default for the channel protocol is PAgP.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines LACP is supported on all Ethernet interfaces.
PAgP and LACP manage channels differently. When all the ports in a channel get disabled, PAgP
removes them from its internal channels list; show commands do not display the channel. With LACP,
when all the ports in a channel get disabled, LACP does not remove the channel; show commands
continue to display the channel even though all its ports are down. To determine if a channel is actively
sending and receiving traffic with LACP, use the show port command to see if the link is up or down.
LACP does not support half-duplex links. If a port is in active/passive mode and becomes half duplex,
the port is suspended (and a syslog message is generated). The port is shown as “connected” using the
show port command and as “not connected” using the show spantree command. This discrepancy is
because the port is physically connected but never joined spanning tree. To get the port to join spanning
tree, either set the duplex to full or set the channel mode to off for that port.
For more information about PAgP and LACP, refer to the “Configuring EtherChannel” chapter of the
Catalyst 6500 Series Switch Software Configuration Guide.
Examples This example shows how to set PAgP for module 3:
Console> (enable) set channelprotocol pagp 3
Channeling protocol set to PAGP for module(s) 3.
Console> (enable)
This example shows how to set LACP for modules 2, 4, 5, and 6:
Console> (enable) set channelprotocol lacp 2,4-6
Channeling protocol set to LACP for module(s) 2,4,5,6.
Console> (enable)
pagp Specifies PAgP.
lacp Specifies LACP.
mod Number of the module.