You are on page 1of 4

Switch_de_produccion#show spanning-tree ?

active Report on active interfaces only

backbonefast Show spanning tree backbonefast status

blockedports Show blocked ports

bridge Status and configuration of this bridge

detail Detailed information

inconsistentports Show inconsistent ports

interface Spanning Tree interface status and configuration

mst Multiple spanning trees

pathcost Show Spanning pathcost options

root Status and configuration of the root bridge

summary Summary of port states

uplinkfast Show spanning tree uplinkfast status

vlan VLAN Switch Spanning Trees

| Output modifiers

<cr>

Switch_de_produccion(config)#

Switch_de_produccion(config)# spanning-tree ?
backbonefast Enable BackboneFast Feature

etherchannel Spanning tree etherchannel specific configuration

extend Spanning Tree 802.1t extensions

logging Enable Spanning tree logging

loopguard Spanning tree loopguard options

mode Spanning tree operating mode

mst Multiple spanning tree configuration

pathcost Spanning tree pathcost options

portfast Spanning tree portfast options


transmit STP transmit parameters

uplinkfast Enable UplinkFast Feature

vlan VLAN Switch Spanning Tree

Switch_de_produccion(config)#int fa 0/20

Switch_de_produccion(config-if)#spanning-tree ?
bpdufilter Don't send or receive BPDUs on this interface

bpduguard Don't accept BPDUs on this interface

cost Change an interface's spanning tree port path cost

guard Change an interface's spanning tree guard mode

link-type Specify a link type for spanning tree protocol use

mst Multiple spanning tree

port-priority Change an interface's spanning tree port priority

portfast Enable an interface to move directly to forwarding on link up

stack-port Enable stack port

vlan VLAN Switch Spanning Tree


Switch_de_produccion(config)#spanning-tree portfast ?
bpdufilter Enable portfast bpdu filter on this switch

bpduguard Enable portfast bpdu guard on this switch

default Enable portfast by default on all access ports

Switch_de_produccion(config-if)#spanning-tree portfast ?
disable Disable portfast for this interface

trunk Enable portfast on the interface even in trunk mode

<cr>

Switch_de_produccion#show spann summary


Switch is in rapid-pvst mode

Root bridge for: VLAN0001, VLAN0003, VLAN0098, VLAN0100, VLAN0104, VLAN0106

VLAN0130, VLAN0203, VLAN0298

Extended system ID is enabled

Portfast Default is enabled

PortFast BPDU Guard Default is enabled

Portfast BPDU Filter Default is disabled

Loopguard Default is disabled

EtherChannel misconfig guard is enabled

UplinkFast is disabled

BackboneFast is disabled

Configured Pathcost method used is short

Name Blocking Listening Learning Forwarding STP Active

---------------------- -------- --------- -------- ---------- ----------

VLAN0001 0 0 0 2 2

VLAN0003 0 0 0 2 2

VLAN0098 0 0 0 14 14
Spanning Tree Protocol Timers

There are several STP timers, as this list shows:

 hello—The hello time is the time between each bridge protocol data unit (BPDU) that is sent on a port. This time is equal to 2 seconds
(sec) by default, but you can tune the time to be between 1 and 10 sec.
 forward delay—The forward delay is the time that is spent in the listening and learning state. This time is equal to 15 sec by default, but
you can tune the time to be between 4 and 30 sec.
 max age—The max age timer controls the maximum length of time that passes before a bridge port saves its configuration BPDU
information. This time is 20 sec by default, but you can tune the time to be between 6 and 40 sec.

Port States

There are only three port states left in RSTP that correspond to the three possible operational states. The 802.1D disabled, blocking,
and listening states are merged into a unique 802.1w discarding state.

STP (802.1D) Port RSTP (802.1w) Port Is Port Included in Is Port Learning MAC
State State Active Topology? Addresses?

Disabled Discarding No No

Blocking Discarding No No

Listening Discarding Yes No

Learning Learning Yes Yes

Forwarding Forwarding Yes Yes

You might also like