Cisco 7604 Configuration Manual page 303

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 20
Configuring STP and Prestandard IEEE 802.1s MST
To configure the STP port cost of a Layer 2 LAN interface, perform this task:
Command
Step 1
Router(config)# interface {{ type
{port-channel port_channel_number }}
Step 2
Router(config-if)# spanning-tree cost port_cost
Router(config-if)# no spanning-tree cost
Step 3
Router(config-if)# [no] spanning-tree vlan
vlan_ID cost port_cost
Step 4
Router(config-if)# no spanning-tree vlan vlan_ID
cost
Step 5
Router(config-if)# end
Step 6
Router# show spanning-tree interface { type
slot/port } | {port-channel port_channel_number }
show spanning-tree vlan vlan_ID
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to change the STP port cost of Fast Ethernet port 4/4:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastEthernet 4/4
Router(config-if)# spanning-tree cost 1000
Router(config-if)# ^Z
Router#
This example shows how to verify the configuration:
Router# show spanning-tree interface fastEthernet 4/4
Vlan
---------------- ---- --- --------- -------- --------------------------------
VLAN0001
VLAN0006
VLAN0007
VLAN0008
VLAN0009
VLAN0010
Router#
This example shows how to configure the port priority at an individual port VLAN cost for VLAN 200:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastEthernet 4/4
Router(config-if)# spanning-tree vlan 200 cost 2000
Router(config-if)# ^Z
Router#
This example shows how to verify the configuration:
Router# show spanning-tree vlan 200 interface fastEthernet 4/4
Interface
---------------- ---- --- --------- -------- --------------------------------
OL-4266-08
Purpose
1
Selects an interface to configure.
slot/port } |
Configures the port cost for the LAN interface. The
port_cost value can be from 1 to 200000000 (1 to 65535
in Release 12.1(2)E and earlier releases).
Reverts to the default port cost.
Configures the VLAN port cost for the LAN interface.
The port_cost value can be from 1 to 200000000. The
vlan_ID value can be 1 through 4094, except reserved
VLANs (see
Reverts to the default VLAN port cost.
Exits configuration mode.
1
Verifies the configuration.
Role Sts Cost
Prio.Nbr Status
Back BLK 1000
160.196
Back BLK 1000
160.196
Back BLK 1000
160.196
Back BLK 1000
160.196
Back BLK 1000
160.196
Back BLK 1000
160.196
Role Sts Cost
Prio.Nbr Status
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Table 14-1 on page
End with CNTL/Z.
P2p
P2p
P2p
P2p
P2p
P2p
End with CNTL/Z.
Configuring STP
14-2).
20-29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents