Professional Documents
Culture Documents
STP
progress
STP Timer
Port State
Port Role
PVST+
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
Alternated Port
32768
4096
0000.0000.1111
Sw1
root
Sw2
Pri
32768
MAC
0000.0000.2222
Sw3
32768
0000.0000.3333
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
Alternated Port
Cost 19
Sw2
root
100M
C
RP
1G
19
284
RRPPCC
Cost
20 4
1G
Sw3
Type
---P2p
P2p
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
bridge-id
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
Alternated Port
19
root
19
Sw2
Sw3
br
id
ge
-i
d
br
id
ge
-i
d
C
RP
C
RP
38
38
19
19
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
bridge-id
port-id
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
19
Alternated Port
root
Sw2
128.1
port-id
bridge-id
RPC 38
Sw3
128.2
port-id
bridge-id
RPC 38
Sw2#show
Sw#
showspanning-tree
spanning-treeinterface
interfacef0/1
f0/1
Port 1 (FastEthernet0/1) of VLAN1 is forwarding
Port path cost 19, Port priority 100,
128, Port Identifier 100.1
128.1
int f0/1
spanning-tree port-priority 100
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
Alternated Port
R.Port
Sw2
32768
rt
o
P
D.
root
rt
o
P
D.
Port Role
RPC of RP
RPC of RP
Sw3
D.Port
Alt.Port
D.Port
Alt.Port
0000.0000.2222
32768
28672
0000.0000.3333
Root Bridge
bridge-id (priority + MAC)
Root Port
RPC (Root Path Cost)
Designated Port
RPC of Root Port
bridge-id (priority + MAC)
Alternated Port
Sw2
BPDU
root
Sw3
BPDU
STP Timer
Hello Timer 2s
BPDU
root
BPDU
BPDU
Port State
Disable
Blocking
Listening
Learning
Forwarding
20s
15s
Max-age
Forward delay
MAC Table
f0/1
f0/1
f0/1
H Y State
Port
Packet
Packet
Tx BPDU
Rx BPDU
Disable
Blocking
Rx BPDU
Listening
Rx BPDU
Tx BPDU
Learning
Rx BPDU
Tx BPDU
LRN MAC
Forwarding
Rx BPDU
Tx BPDU
LRN MAC
FWD frame
PortFast
Disable
Blocking
0s
Listening 15s
Learning 15s
Forwarding
Sw(config-if)# spanning-tree portfast
Disable
Blocking
0s
Listening 15s
Learning 15s
Forwarding