EasyManuals Logo

Cisco Catalyst 2960-XR Configuration Guide

Cisco Catalyst 2960-XR
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #47 background imageLoading...
Page #47 background image
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
spanning-tree cost cost
4.
spanning-tree vlan vlan-id cost cost
5.
end
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies an interface to configure, and enters interface configuration mode.
Valid interfaces include physical ports and port-channel logical interfaces
(port-channel port-channel-number).
interface interface-id
Example:
Switch(config)# interface
gigabitethernet1/0/1
Step 2
Configures the cost for an interface.
spanning-tree cost cost
Step 3
Example:
Switch(config-if)# spanning-tree
cost 250
If a loop occurs, spanning tree uses the path cost when selecting an interface
to place into the forwarding state. A lower path cost represents higher-speed
transmission.
For cost, the range is 1 to 200000000; the default value is derived from the
media speed of the interface.
Configures the cost for a VLAN.
spanning-tree vlan vlan-id cost cost
Step 4
Example:
Switch(config-if)# spanning-tree
vlan 10,12-15,20 cost 300
If a loop occurs, spanning tree uses the path cost when selecting an interface
to place into the forwarding state. A lower path cost represents higher-speed
transmission.
For vlan-id, you can specify a single VLAN identified by VLAN ID
number, a range of VLANs separated by a hyphen, or a series of
VLANs separated by a comma. The range is 1 to 4094.
For cost, the range is 1 to 200000000; the default value is derived from
the media speed of the interface.
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 5
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29424-01 33
Configuring Spanning Tree Protocol
Configuring Path Cost

Table of Contents

Other manuals for Cisco Catalyst 2960-XR

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 2960-XR and is the answer not in the manual?

Cisco Catalyst 2960-XR Specifications

General IconGeneral
Stacking Bandwidth80 Gbps
Layer SupportLayer 2 and Layer 3
Jumbo Frame Support9198 bytes
RAM512 MB
Input Voltage100-240V AC
ModelCatalyst 2960-XR
Uplink Interfaces4 x 1G SFP or 2 x 10G SFP+
Downlink Interfaces24 or 48 x Gigabit Ethernet ports
Power SupplyInternal
MAC Address Table Size16, 000 entries
PoEAvailable on PoE models
Weight4.5 kg
Featuresenergy efficiency
StackingUp to 8 switches
Operating Temperature0 to 45°C

Related product manuals