Dell FTOS 05 Spanning Tree
Dell FTOS 05 Spanning Tree
Dell FTOS 05 Spanning Tree
Objectives
Debugging
Implementing MSTP
5-2
5-3
F
F
F
5-4
5-5
5-6
Default Value
Forward Delay
15 seconds
Hello Time
2 seconds
Max Age
20 seconds
Port Cost
Port Priority
STP Configuration
Configuration tasks for Spanning Tree Protocol
Cost
Priority
Portfast
1.
5-7
Note: VLAN, Loopback and Null interfaces do not participate in the Spanning
Tree topology decisions
5-8
5-9
5-10
5-11
B.
C.
After you enable the Spanning Tree group, all established VLANs and L2
mode interfaces with no shutdown automatically become part of the
Spanning Tree group
D.
5-13
B.
C.
After you enable the Spanning Tree group, all established VLANs and L2
mode interfaces with no shutdown automatically become part of the
Spanning Tree group
D.
5-14
Show spanning-tree 0
View STP information for the chassis
Force10# show spanning-tree 0
Executing IEEE compatible Spanning Tree Protocol
Bridge Identifier has priority 32768, address 0001.e805.7230
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Current root has priority 32768, address 0001.e805.7230
Topology change flag not set, detected flag not set
Timers: hold 1, topology change 35
hello 2, max age 20, forward delay 15
Times: hello 1, topology change 0, notification 0, aging Normal
Port 1 (TenGigabitEthernet 0/0) is Disabled
Port path cost 2, Port priority 8, Port Identifier 8.1
Designated root has priority 32768, address 0001.e805.7230
Designated bridge has priority 32768, address 0001.e805.7230
Designated port id is 8.1, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state 0
BPDU: sent 0, received 0
The port is not in the portfast mode
Port 482 (GigabitEthernet 5/1) is Disabled
Port path cost 4, Port priority 8, Port Identifier 8.482
Designated root has priority 32768, address 0001.e805.7230
Designated bridge has priority 32768, address 0001.e805.7230
5-15
5-16
5-17
PortID
-----8.1
8.482
5-18
5-19
Layer-2
Protocols
5-20
5-21
RSTP States
Forwarding
Disabled
STP Roles
RSTP Roles
Root
Root
Designated
Learning
Listening
Blocking
Designated
Alternate
Backup
Discarding
Edge
5-22
Root
Bridge
D
R
D B
Link Speed
STP (802.1d)
Default Port Costs
RSTP (802.1w)
Default Port Costs
100M
19
200000
1G
20000
10G
2000
100M LAG
18
180000
1G LAG
18000
10G LAG
1800
5-24
RSTP: BPDUs
New BPDU format
New Type 2 and version 2 so .1D bridges must drop PDU
Expanded use from 802.1d Spanning Tree BPDU
All bits of flags now used to communicate additional state
Version 1 only used topology change bits (0 & 7)
BPDUs sent every <hello-time> seconds (2 by default)
Even if it does not receive BPDUs from the root bridge
Acts as keep alive between bridges
Allows much faster failure detection
RSTP Flag Byte
0
Topology
Change
5-25
1
Proposal
3
Port Role
4
Learning
Forwarding Agreement
7
Topology
Change
ACK
RSTP
uses BPDUs as keepalives
between adjacent switches
5-26
RSTP: Example
Root
5-27
RSTP: Example
Root
5-28
RSTP: Example
Root
5-29
RSTP: Example
Root
5-30
RSTP Configuration
1.
2.
5-31
Command:
show spanning-tree rstp brief
Force10# show spanning-tree rstp brief
Executing IEEE compatible Spanning Tree Protocol
Root ID
Priority 32768, Address 0001.e802.bb7b
Root Bridge hello time 2, max age 20, forward delay 15
Bridge ID
Priority 32768, Address 0001.e802.bb7b
We are the root
Configured hello time 2, max age 20, forward delay 15
5-32
Interface
Name
---------Po 2
Po 5
PortID
-------128.3
128.6
Interface
Name
---------Po 2
Po 5
Role
-----Desg
Desg
Prio
---128
128
Cost
------18000
18000
PortID
-------128.3
128.6
Prio
---128
128
Sts
--FWD
FWD
Designated
Cost
Bridge ID
PortID
------- -------------------- -----0
32768 0001.e802.bb7b 128.3
0
32768 0001.e802.bb7b 128.6
Cost
------18000
18000
Sts
--FWD
FWD
Cost
------0
0
Link-type
--------P2P
P2P
Edge
---No
No
Confidential
Command:
show spanning-tree rstp interface <name>
Force10# show spanning-tree rstp interface port-channel 2
Port-channel 2 is designated forwarding
Edge port:no (default) port guard :none (default)
Link type: point-to-point (auto) bpdu filter:disable (default)
Bpdu guard :disable (default)
Bpdus sent 3502, received 269
Interface
Designated
Name
PortID
Prio Cost
Sts Cost
Bridge ID
PortID
--------- -------- ---- ------- --- ------- -------------------- ------Po 2
5-33
128.3
128
18000
FWD 0
Command:
show spanning-tree rstp
Force10# show spanning-tree rstp
Root Identifier has priority 32768, Address 0001.e802.bb7b
Root Bridge hello time 2, max age 20, forward delay 15, max hops 0
Bridge Identifier has priority 32768, Address 0001.e802.bb7b
Configured hello time 2, max age 20, forward delay 15, max hops 0
We are the root
Current root has priority 32768, Address 0001.e802.bb7b
Number of topology changes 78, last change occured 03:38:08
Port 3 (Port-channel 2) is designated Forwarding
Port path cost 18000, Port priority 128, Port Identifier 128.3
Designated root has priority 32768, address 0001.e802.bb7b
Designated bridge has priority 32768, address 0001.e802.bb7b
Designated port id is 128.3, designated path cost 0
Number of transitions to forwarding state 74
BPDU : sent 3628, received 302
The port is not in the Edge port mode
<>
5-34
Confidential
RSTP Debugging
Many debug options to trace RSTP PDUs and events
5-35
Layer-2
Protocols
5-36
5-37
VLANs 1-4
VLANs 1-4
5-38
PVST Example
1
2
3
4
3
4
5-39
3
4
1,3
1,3
2,4
2,4
5-40
MSTP: BPDUs
There is only one MSTP Instance that sends and receives MSTP
BPDUs
The other Instance information is encapsulated in the MSTP BPDUs
Similar to Per VLAN Spanning Tree
Limits the number of BPDUs to 1 instead of to the number of VLANs
5-41
MSTP: Definitions
MST Region
Contiguous group of switches that share the same MSTP
configuration
Common Spanning-Tree (CST)
The Spanning-Tree Instance external to the region
5-42
MSTP: Regions
Each MSTP Region is configured with
A mapping of VLANs to MSTIs mandatory
Name (*optional)
Revision number (*optional)
5-43
MSTP: Regions
5-44
MSTP: IST
The IST is important because this is the Instance that interacts with the CST
The IST allows the Region to appear to the CST as a single switch
This allows MSTP to interoperate with legacy environments
The IST is also present internal to the region
VLANs can be mapped to the IST, but in general should not be
The IST is the Instance that sends and receives BPDUs
5-45
MSTP: IST
IST
5-46
MSTP: IST
5-47
MSTP: MSTI
The MSTIs are all internal to the Region
All VLANs in the region will be mapped to one of the MSTIs
Each Region can support up to 64 MSTIs, although in practice, only two or
three are usually necessary
There are not separate BPDUs for each MSTI
A BPDU sent between two switches contains information about all of the
MSTIs
5-48
MSTP: MSTI
1,3
2,4
5-49
1,3
1,3
2,4
2,4
MSTP: MSTI
MSTI 1
VLANs 1,3
5-50
Confidential
MSTP: MSTI
MSTI 2
VLANs 2,4
5-51
5-52
5-53
5-54
5-55
5-56
5-57
MSTP: Example
Switch A
Switch B
1/1
2/1
1/2
2/2
MSTI 1
VLANs 1,3
MSTI 2
VLANs 2,4
Switch C
3/1
3/2
5-58
5-59
Command:
show spanning-tree msti <instance>
Shows a particular MSTI and the interfaces configured in it
Force10# sh spanning-tree msti 1
MSTI 1 VLANs mapped 1, 3
Bridge Identifier has priority 4096, Address 0001.e803.cf63
Configured hello time 2, max age 20, forward delay 15, max hops 20
Current root has priority 4096, Address 0001.e803.cf63
Number of topology changes 7, last change occured 21:39:18
Port 82 (GigabitEthernet 1/1) is designated Forwarding
Port path cost 20000, Port priority 112, Port Identifier 112.82
Designated root has priority 4096, address 0001.e803.cf:63
Designated bridge has priority 4096, address 0001.e803.cf:63
Designated port id is 112.82, designated path cost
Number of transitions to forwarding state 2
BPDU (Mrecords): sent 4229, received 7941
The port is not in the Edge port mode
5-60
Command:
show spanning-tree mstp <instance> brief
Shows a particular MSTI and the interfaces configured in it in a tabular format
Force10# show spanning-tree msti 1 brief
MSTI 1 VLANs mapped 1, 3
Executing IEEE compatible Spanning Tree Protocol
Root ID
Priority 4096, Address 0001.e803.cf63
Root Bridge hello time 2, max age 20, forward delay 15, max hops 20
Bridge ID
Priority 4096, Address 0001.e803.cf63
Configured hello time 2, max age 20, forward delay 15, max hops 20
5-61
Interface
Name
---------Gi 1/1
Gi 1/2
PortID
------112.82
112.88
Interface
Name
---------Gi 1/1
Gi 1/2
Role
-----Desg
Desg
Prio
---112
112
Cost
-----20000
20000
PortID
------112.82
112.88
Prio
---112
112
Sts
--FWD
FWD
Designated
Cost
Bridge ID
------ -------------------0
4096 0001.e803.cf63
0
4096 0001.e803.cf63
Cost
-----20000
20000
Sts
--FWD
FWD
Cost
-----0
0
Link-type
----------P2P
P2P
PortID
------112.82
112.88
Module
Summary
5-62