API Guide

Bridge ID Priority 32769, Address 90b1.1cf4.a523
We are the root of VLAN 1
Configured hello time 2, max age 20, forward delay 15
Rapid-PVST commands
show spanning-tree vlan
Displays Rapid-PVST status and configuration information by VLAN ID.
Syntax
show spanning-tree vlan vlan-id
Parameters vlan vlan-id Enter the VLAN ID number, from 1 to 4093.
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# show spanning-tree
Spanning tree enabled protocol rapid-pvst
VLAN 1
Executing IEEE compatible Spanning Tree Protocol
Root ID Priority 32769, Address 74e6.e2f5.bb80
Root Bridge hello time 2, max age 20, forward delay 15
Bridge ID Priority 32769, Address 74e6.e2f5.bb80
We are the root of VLAN 1
Configured hello time 2, max age 20, forward delay 15
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
----------------------------------------------------------------------------
ethernet1/1/1 128.260 128 200000000 FWD 0 32769 0000.0000.0000 128.260
ethernet1/1/2 128.264 128 200000000 FWD 0 32769 0000.0000.0000 128.264
ethernet1/1/3 128.268 128 200000000 FWD 0 32769 0000.0000.0000 128.268
ethernet1/1/4 128.272 128 200000000 FWD 0 32769 0000.0000.0000 128.272
ethernet1/1/5 128.276 128 200000000 FWD 0 32769 0000.0000.0000 128.276
ethernet1/1/6 128.280 128 200000000 FWD 0 32769 0000.0000.0000 128.280
ethernet1/1/7 128.284 128 200000000 FWD 0 32769 0000.0000.0000 128.284
ethernet1/1/8 128.288 128 200000000 FWD 0 32769 0000.0000.0000 128.288
ethernet1/1/9 128.292 128 200000000 FWD 0 32769 0000.0000.0000 128.292
ethernet1/1/10 128.296 128 200000000 FWD 0 32769 0000.0000.0000 128.296
ethernet1/1/11 128.300 128 200000000 FWD 0 32769 0000.0000.0000 128.300
ethernet1/1/12 128.304 128 200000000 FWD 0 32769 0000.0000.0000 128.304
Supported
Releases
10.2.0E or later
spanning-tree vlan cost
Sets the path cost of the interface per VLAN for PVST calculations.
Syntax
spanning-tree vlan vlan-id cost {value}
Parameters value Enter a port cost value to set the path cost of the interface for PVST calculations, from 1 to
200000000.
Defaults
100- Mb/s Ethernet interface = 200000
1 Gigabit Ethernet interface = 20000
10-Gigabit Ethernet interface = 2000
Port-channel interface with one 100 Mb/s Ethernet = 200000
Port-channel interface with one 1 Gigabit Ethernet = 20000
Port-channel interface with one 10 Gigabit Ethernet = 2000
484 Layer 2