2-404
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port channel
Note With software releases 6.2(1) and earlier, the 6- and 9-slot Catalyst 6500 series switches support a
maximum of 128 EtherChannels.
With software releases 6.2(2) and later, due to the port ID handling by the spanning tree feature, the
maximum supported number of EtherChannels is 126 for a 6- or 9-slot chassis and 63 for a 13-slot
chassis. Note that the 13-slot chassis was first supported in software release 6.2(2).
Examples This example shows how to set the channel mo de to desirable:
Console> (enable) set port channel 2/2-8 mode desirable
Ports 2/2-8 channel mode set to desirable.
Console> (enable)
This example shows how to set the channel mode to auto:
Console> (enable) set port channel 2/7-8,3/1 mode auto
Ports 2/7-8,3/1 channel mode set to auto.
Console> (enable)
This example shows how to group ports 4/1 through 4 in an administrative group:
Console> (enable) set port channel 4/1-4 96
Port(s) 4/1-4 are assigned to admin group 96.
Console> (enable)
This example shows the display when the port list is exceeded:
Console> (enable) set port channel 2/1-9 1
No more than 8 ports can be assigned to an admin group.
Console> (enable)
This example shows how to disable EtherChannel on module 4, ports 4 thr ough 6 :
Console> (enable) set port channel 4/4-6 mode off
Port(s) 4/4-6 channel mode set to off.
Console> (enable)
This example shows the display output when you assign ports to an existing administrative group. This
example moves ports in admin group 96 to another admin group and assigns ports 4/4 through 6 t o admin
group 96:
Console> (enable) set port channel 4/4-6 96
Port(s) 4/1-3 are moved to admin group 97.
Port(s) 4/4-6 are assigned to admin group 96.
Console> (enable)
This example shows how to set the channel mode to of f for ports 4/4 through 6 and assign ports 4/4
through 6 to an automatically selected administrative group:
Console> (enable) set port channel 4/4-6 off
Port(s) 4/4-6 channel mode set to off.
Port(s) 4/4-6 are assigned to admin group 23.
Console> (enable)
This example shows how to configure the EtherChannel load-balancing fea ture :
Console> (enable) set port channel all distribution ip destination
Channel distribution is set to ip destination.
Console> (enable)