2-381
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port channel
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)
Related Commands show channel
show channel group
show port channel