Setting The Etherchannel Spanning Tree Port Cost - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents