
6-8
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 6 Configuring Fast EtherChannel and Gigabit EtherChannel
Configuring EtherChannel Using PAgP
To define an EtherChannel administrative group, perform this task in privileged mode:
This example shows how to assign ports to an administrative group and verify the configuration:
Console> (enable) set port channel 3/5-6 50
Port(s) 3/5-6 are assigned to admin group 50.
Console> (enable) show channel group 50
Admin Port Status Channel Channel
group Mode id
----- ----- ---------- -------------------- --------
50 3/5 connected auto silent 0
50 3/6 connected auto silent 0
Admin Port Device-ID Port-ID Platform
group
----- ----- ------------------------------- ------------------------- ----------
50 3/5
50 3/6
Console> (enable)
Setting the EtherChannel Spanning Tree Port Cost
To set the spanning tree port cost for an EtherChannel, perform this task in privileged mode:
This example shows how to set the EtherChannel port path cost for channel ID 768:
Console> (enable) show channel group 20
Admin Port Status Channel Channel
group Mode id
----- ----- ---------- --------- --------
20
1/1 notconnect on 768
20
1/2 connected on 768
Admin Port Device-ID Port-ID Platform
group
----- ----- ------------------------------- ------------------------- ----------
20
1/1
20
1/2 066510644(cat26-lnf(NET25)) 2/1 WS-C6009
Console> (enable)
Task
Command
Step 1
Define the administrative group by specifying the
ports in the group.
set port channel port_list admin_group
Step 2
Verify the administrative group configuration.
show channel group [admin_group]
Task
Command
Step 1
Determine the EtherChannel ID of the EtherChannel
for which you want to set the port cost.
show channel group admin_group
Step 2
Set the spanning tree port cost for an EtherChannel
using the EtherChannel ID that you obtained in
Step 1.
set channel cost {channel_id | all} cost