Vous êtes sur la page 1sur 26

IBM System Networking

Spanning Tree Protocols Presentation

2013 IBM Corporation

System Networking

Agenda
Spanning Tree overview
RSTP configuration guide
PVRST configuration guide
MSTP configuration guide

2013 IBM Corporation

Spanning Tree Protocols


Spanning Tree Protocols

IBM Confidential

Per-VLAN Rapid Spanning Tree


Protocol (PVRST); PVRST is the
System
Networking
default spanning tree mode on
IBM
switches
Multiple Spanning Tree Protocol
(MSTP)

2013 IBM Corporation

System Networking

Rapid Spanning Tree Protocol (RSTP)


Originally defined in IEEE 802.1w (2001) standard, then incorporated in
IEEE 802.1d (2004) standard
In RSTP mode only Spanning Tree Group 1 is available
All VLANs (including management vlan) are in STG1
RSTP ports states: Discarding, Learning, Forwarding
Convergence mechanism: Proposal-Agreement
RSTP Configuration:
port-vlan membership configuration on the switch;
Setting the STP mode to RSTP

IBM Confidential

2013 IBM Corporation

System Networking

RSTP Configuration
Switch 1
MAC: 08:17:f4:8c:b5:00

25

26

27
Vlan 200

17

18

17
1

Switch 2
MAC: 08:17:f4:a2:6c:00

1
Switch 3
MAC: 08:17:f4:a2:71:00

Vlan configuration for switch1 ports


switch1(config)#interface port 25,26,27
switch1(config-if)#switchport access vlan 200
- Setting STP mode to RSTP for switch1
switch1(config)#spanning-tree mode rstp
- For switch2 and switch3 we configure ports in vlan 200 and also STP mode to
RSTP using the same commands
5

IBM Confidential

2013 IBM Corporation

System Networking

RSTP Configuration
Using configuration command for STP 1, we can change the default bridge priority for switch1 (using a
lower priority value in this case, so that it will be the Root Bridge):
switch1(config)#spanning-tree stp 1 bridge priority 9000
RSTP: bridge priority 9000 is changed to 8192

Using port configuration commands for STP1, we can change the default port priority/port path cost.
On switch1 port 26 we lower the default port priority, so that root port on switch2 will change from port 17 to port 18:
switch1(config)#interface port 26
switch1(config-if)#spanning-tree stp 1 priority 100
RSTP: port 26 priority 100 is changed to 96

RSTP Troubleshooting:
RSTP information on switch1 (Root Bridge):
switch1(config)#sh spanning-tree
-----------------------------------------------------------------Pvst+ compatibility mode enabled
-----------------------------------------------------------------Spanning Tree Group 1: On (RSTP)
VLANs: 1 5 17 25 27 55 64 100 200 4095

Current Root:
Path-Cost Port Hello MaxAge FwdDel
2000 08:17:f4:8c:b5:00
0
0 2 20 15

Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts


8192
2
20
15 300
9
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------25
128
2000! FWD DESG 2000-08:17:f4:8c:b5:00 8019
P2P
26
96
2000! FWD DESG 2000-08:17:f4:8c:b5:00 601a
P2P
27
128
2000! FWD DESG 2000-08:17:f4:8c:b5:00 801b
P2P
MGT
0
0 FWD *
IBMport.
Confidential
* = STP turned off for this
! = Automatic path cost.

2013 IBM Corporation

System Networking

RSTP Troubleshooting

RSTP information on switch2:

switch2#sh spanning-tree
-----------------------------------------------------------------Pvst+ compatibility mode enabled
-----------------------------------------------------------------Spanning Tree Group 1: On (RSTP)
VLANs: 1 13 17 26 78 200 1000 4095

RSTP information on switch3:

switch3(config)#sh spanning-tree
-----------------------------------------------------------------Pvst+ compatibility mode enabled
-----------------------------------------------------------------Spanning Tree Group 1: On (RSTP)
VLANs: 1 13 23 27 78 200 1000 4095

Current Root:
Path-Cost Port Hello MaxAge FwdDel
2000 08:17:f4:8c:b5:00 2000
18 2 20 15

Current Root:
Path-Cost Port Hello MaxAge FwdDel
2000 08:17:f4:8c:b5:00 2000
17 2 20 15

Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts


32768
2
20
15 300
10

Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts


32768
2
20
15 300
5

Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD DESG 8000-08:17:f4:a2:6c:00 8001
P2P
17
128
2000! DISC ALTN 2000-08:17:f4:8c:b5:00 8019
P2P
18
128
2000! FWD ROOT 2000-08:17:f4:8c:b5:00 601a
P2P
MGTB
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.
switch2#sh spanning-tree blockedports
Instance Blocked Port List
---------- ---------------------1
17
switch2#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
2000 08:17:f4:8c:b5:00 2000
2 20 15
18

IBM Confidential

Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! DISC ALTN 8000-08:17:f4:a2:6c:00 8001
P2P
17
128
2000! FWD ROOT 2000-08:17:f4:8c:b5:00 801b
P2P
MGTB
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.
switch3(config)#sh spanning-tree blockedports
Instance Blocked Port List
---------- ---------------------1
1
Number of blocked ports (segments) in the system :1
switch3(config)#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
2000 08:17:f4:8c:b5:00 2000
2 20 15
17

2013 IBM Corporation

System Networking

Per-VLAN Spanning Tree Protocol (PVRST)


PVRST is based on IEEE 802.1w RSTP
It support 128 STG Instances (STG 128 is for management VLAN)
Each STG is an independent instance of STP
Each data VLAN can be automatically or manually assigned to one of
the 127 STG instances
STG1 can have multiple data vlans; Each STG in range 2-127 can have
only one vlan
PVRST is the STP default mode on IBM switches

2013 IBM Corporation

System Networking

PVRST Configuration

VLANs and STG assignment

Switch ports can not be added directly to STG; they have to be first added to VLANs
and then VLANs are assgined to STGs;

STG1 is the default STG and it is enabled by default; Default VLAN1 is included in STG1
be default;

STG128 is disabled by default and it includes the management VLAN 4095;

STG 2-127 are enabled initially do not contain any VLANs

VLANs-STG assignment can be done:

1.
2.

Automatically: using VLAN Automatic STG Assigment (VASA) feature


Manually: using commands to add each VLAN to a STG

IBM Confidential

2013 IBM Corporation

System Networking

1. Automatically VLAN-STG assignment using VASA

VASA: enabled by default;

For VLAN number in range 1-127, VASA will add them in STG with same number, if it is
available (VLAN x-STG x);

For VLAN numbers higher than 127, VASA will assign them to a STG using a modulus
calculation;

If there is no available STG (with no VLANs assigned) when a VLAN is created, the VLAN
will be added to STG1

VASA can be disabled/enabled using the command:


switch2(config)#[no] spanning-tree stg-auto

If VASA is disabled, when a new VLAN is created it will be added to STG1 and it can be
manually added to a different STG;

VASA applies only to PVRST; it is ignored in RSTP or MSTP

Configuration example for VLAN-STG assignment using VASA:

switch2(config)#vlan 50
Warning: VLAN 50 was assigned to STG 50.
VLAN 50 is created.
switch2(config-vlan)#vlan 147
Warning: VLAN 147 was assigned to STG 20.
VLAN 147 is created.
10

IBM Confidential

2013 IBM Corporation

System Networking

2. Manually VLAN-STG assignment

1.

VLANs can be manually assigned to STGs in both cases when VASA is enabled or disabled
Example for VLAN-STG assigment-VLANs can be added to STGs in 2 ways:
Using the global config command:

switch2(config)#spanning-tree stp 10 vlan 10

2. Using VLAN config command:


switch2(config)#vlan 20
switch2(config-vlan)#stg ?
<0-128> Group [1](RSTP)/[1-128](PVRST)
switch2(config-vlan)#stg 30 ?

11

When a VLAN is added to a new STG, it is removed from its previous STG

2013 IBM Corporation

System Networking

PVRST Configuration example


Switch 1
MAC: 08:17:f4:8c:b5:00

Vlan2/stg1
Root bridge: switch1

Switch 2
MAC: 08:17:f4:a2:6c:00

17

25

27
Vlan100/stg100
Root bridge: switch2

18

17
1

26

Switch 3
MAC: 08:17:f4:a2:71:00

Vlan100/stg100
Configure STP mode to PVRST for switch1: Root bridge: switch2

switch1(config)#spanning-tree mode pvrst


Warning: all stp path cost will be set to default.
Warning: all VLANs will be assigned to a STG automatically.
Warning: VLAN 4095 is moved from STG 1 to STG 128.

Configure switch1 ports 25,26 in vlan2:

switch1(config)#interface port 25,26


switch1(config-if)#switchport access vlan 2
VLAN number 2 with name "VLAN 2" will be created.
Port 25 is an Untagged/Access-mode port and its PVID/Native-VLAN is changed from 200 to 2
Port 26 is an Untagged/Access-mode port and its PVID/Native-VLAN is changed from 200 to 2
Warning: VLAN 2 was assigned to STG 2.
12

IBM Confidential

2013 IBM Corporation

System Networking

PVRST Configuration example

Add vlan2 to STG1 on switch1, after it had been


automatically assigned to STG2 (VASA is enabled
by default):

On switch3, STP mode is changed to PVRST and ports 1


and 17 are added to vlan 100/stg 100:

switch3(config)#spanning-tree mode pvrst


switch3(config)#interface port 1,17
switch3(config-if)#switchport access vlan 100

switch1(config)#spanning-tree stp 1 vlan 2

In order to have switch1 the root bridge for stg1,


bridge priority is lowered for stg1; Also the default
beidge priority will be used in case of switch2, for
stg1:
switch1(config)#spanning-tree stp 1 bridge priority 9000
PVRST 1: bridge priority 9000 is changed to 8192

Also for switch1, portt 27 is added to vlan


100; VASA is enabled by default and vlan 100 is
added to stg 100:

switch1(config)#interface port 27
switch1(config-if)#switchport access vlan 100
VLAN number 100 with name "VLAN 100" will be created.
Port 27 is an Untagged/Access-mode port and its PVID/NativeVLAN is changed from 1 to 100
Warning: VLAN 100 was assigned to STG 100.

VLAN number 100 with name "VLAN 100" will be created.


Port 1 is an Untagged/Access-mode port and its PVID/Native-VLAN is
changed from 1000 to 100
Port 17 is an Untagged/Access-mode port and its PVID/Native-VLAN is
changed from 200 to 100
Warning: VLAN 100 was assigned to STG 100.

On switch2, STP mode is changed to PVRST; Then ports


17,18 are added to vlan2/stg1
switch2(config)#spanning-tree mode pvrst
Warning: all stp path cost will be set to default.
switch2(config)#interface port 17,18
switch2(config-if)#switchport access vlan 2
VLAN number 2 with name "VLAN 2" will be created.
Port 17 is an Untagged/Access-mode port and its PVID/Native-VLAN is
changed from 200 to 2
Port 18 is an Untagged/Access-mode port and its PVID/Native-VLAN is
changed from 200 to 2
Warning: VLAN 2 was assigned to STG 2.
switch2(config)#spanning-tree stp 1 vlan 2

2013 IBM Corporation

System Networking

PVRST Configuration example


Also on switch2, port 1 is added to vlan 100/stg 100; Then for stg100 bridge priority is configured a lower
value than default, so that switch2 will be the root bridge for stg 100:
switch2(config)#interface port 1
switch2(config-if)#switchport access vlan 100
VLAN number 100 with name "VLAN 100" will be created.
Port 1 is an Untagged/Access-mode port and its PVID/Native-VLAN is changed from 200 to 100
Warning: VLAN 100 was assigned to STG 100.
switch2(config)#spanning-tree stp 100 bridge priority 16000
PVRST 100: bridge priority 16000 is changed to 12288

PVRST troubleshooting
PVRST information for switch2/stg 100; switch2 is the root bridge for stg 100:
switch2(config)#sh spanning-tree stp 100 inf
-----------------------------------------------------------------Spanning Tree Group 100: On (PVRST)
VLANs: 100
Current Root:
Path-Cost Port Hello MaxAge FwdDel
3064 08:17:f4:a2:6c:00
0
0 2
20
15
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts
12388
2
20
15
300
1
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD DESG 3064-08:17:f4:a2:6c:00
8001
P2P
! = Automatic path cost.
2013 IBM Corporation

System Networking

PVRST Troubleshooting
Switch2/stg100 root bridge, blocked ports and also
configuration:

Switch3/stg 100 information, root bridge


switch3(config)#sh spanning-tree stp 100 inf

switch2(config)#sh spanning-tree root

-----------------------------------------------------------------Spanning Tree Group 100: On (PVRST)


VLANs: 100

Instance
Root ID
Path-Cost Hello MaxAge FwdDel
Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
2001 08:17:f4:8c:b5:00 2000
2
20
15
18
100
3064 08:17:f4:a2:6c:00 0
2
20
15
0
111
806f 08:17:f4:a2:6c:00 0
2
20
15
0
128
8080 08:17:f4:a2:6c:00 0
2
20
15
0
switch2(config)#sh spanning-tree blockedports
Instance Blocked Port List
---------- ---------------------1
17
Number of blocked ports (segments) in the system :1
switch2(config)#sh spanning-tree stp 100
-----------------------------------------------------------------Current Spanning Tree Group 100 settings: ON (PVRST)
Bridge params: Priority Hello MaxAge FwdDel Aging
12288
2
20
15
300
VLANs: 100
STP Ports:
Port 1 : Priority 128, Path Cost 0, auto

Current Root:
Path-Cost Port Hello MaxAge FwdDel
3064 08:17:f4:a2:6c:00 2000
1 2 20 15
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change
Counts
32868
2
20
15 300
3
Port
Prio Cost State Role Designated Bridge
Des Port
Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD ROOT 3064-08:17:f4:a2:6c:00 8001
P2P
17
128
2000! FWD DESG 8064-08:17:f4:a2:71:00 8011
P2P
! = Automatic path cost.
switch3(config)#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
8001 08:17:f4:a2:71:00 0
2 20 15
0
100
3064 08:17:f4:a2:6c:00 2000
2 20 15
1
128
8080 08:17:f4:a2:71:00 0
2 20 15
0

2013 IBM Corporation

System Networking

PVRST Troubleshooting
Switch1/stg 100 information, root bridge and
stg100 configuration:
switch1(config)#sh spanning-tree stp 100 inf
----------------------------------------------------------------------------------------------------------------------------------Spanning Tree Group 100: On (PVRST)
VLANs: 100
Current Root:
Path-Cost Port Hello MaxAge FwdDel
3064 08:17:f4:a2:6c:00
4000
27 2
20
15
Parameters: Priority Hello MaxAge FwdDel Aging Topology
Change Counts
32868
2
20
15
300
1
Port
Prio Cost State Role Designated Bridge
Des
Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------27
128
2000! FWD ROOT 8064-08:17:f4:a2:71:00
8011
P2P
! = Automatic path cost.
switch1(config)#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel
Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
2001 08:17:f4:8c:b5:00 0
2
20
15
0
100
3064 08:17:f4:a2:6c:00 4000
2
20
15
27
128
8080 08:17:f4:8c:b5:00 0
2
20
15
0

Switch1/stg 1 information; Switch1 is the root bridge for


stg1:
switch1(config)#sh spanning-tree stp 1 inf
----------------------------------------------------------------------------------------------------------------------------------Spanning Tree Group 1: On (PVRST)
VLANs: 1 2
Current Root:
Path-Cost Port Hello MaxAge FwdDel
2001 08:17:f4:8c:b5:00
0
0 2 20 15
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change
Counts
8193
2
20
15 300
12
Port
Prio Cost State Role Designated Bridge
Des Port
Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------25
128
2000! FWD DESG 2001-08:17:f4:8c:b5:00 8019
P2P
26
96
2000! FWD DESG 2001-08:17:f4:8c:b5:00 601a
P2P
! = Automatic path cost

2013 IBM Corporation

System Networking

PVRST Troubleshooting
Switch2/stg1 information, root bridge and blocked ports information; For stg1 the root bridge is switch1:
switch2(config)#sh spanning-tree stp 1 inf
-----------------------------------------------------------------Spanning Tree Group 1: On (PVRST)
VLANs: 1 2
Current Root:
Path-Cost Port Hello MaxAge FwdDel
2001 08:17:f4:8c:b5:00
2000
18 2
20
15
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts
32769
2
20
15
300
4
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------17
128
2000! DISC ALTN 2001-08:17:f4:8c:b5:00
8019
P2P
18
128
2000! FWD ROOT 2001-08:17:f4:8c:b5:00
601a
P2P
! = Automatic path cost.
switch2(config)#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------1
2001 08:17:f4:8c:b5:00 2000
2
20
15
18
100
3064 08:17:f4:a2:6c:00 0
2
20
15
0
111
806f 08:17:f4:a2:6c:00 0
2
20
15
0
128
8080 08:17:f4:a2:6c:00 0
2
20
15
0
switch2(config)#sh spanning-tree blockedports
Instance Blocked Port List
---------- ---------------------1
17
Number of blocked ports (segments) in the system :1

2013 IBM Corporation

System Networking

Multiple Spanning Tree Protocol (MSTP)

Originally defined in IEEE 802.1s (2002), later included in IEEE 802.1q


(2003)

Supports multiple Spanning Tree Groups and each STG may include
multiple VLANs

MSTP allows frames assigned to different VLANs to follow separate


paths, each path based on an independent STP instance

In MSTP mode IBM switches support 32 STP instances

MSTP Region- group of bridges that share the same attributes.

Bridges which are in the same region must have the following same
attributes:
Region name
Revision number
VLAN-STG mapping

1.
2.
3.

2013 IBM Corporation

System Networking

Multiple Spanning Tree Protocol (MSTP)


Common Internal Spanning Tree (CIST)- MST 0: allows the MSTP region
to act as a virtual bridge to other bridges outside of the region
In MSTP mode, new created VLANs are moved to CIST; They need
manual assignment to STG instances 1-32;

2013 IBM Corporation

System Networking

MSTP Topology Example


Switch 1- Root Bridge MST 1

25

Region_1
MST2- VLAN200
MST1- VLAN100

27

Switch 3- Root
17 Bridge MST 2

17

Switch 2

24

24

26

Switch3- CIST
Regional Root

26
Region_2

Switch 4- CIST Current Root and CIST Regional Root


MAC: 00:02:f4:8c:8d:00
20

IBM Confidential

2013 IBM Corporation

System Networking

MSTP Configuration example


Swith1, switch2 and switch3 are configured with stp mode MSTP; Each of them is configured with mst region
name region_1 and also the following vlan-stg instances:
instance1- vlan 100
Instance 2-vlan 200
For switches in region_1, for mstp revision it is maintained the default value 1 for each device:
Switch1:

switch1(config)#spanning-tree mst configuration

switch1(config-mst)#name region_1

switch1(config-mst)#instance 1 vlan 100

switch1(config-mst)#instance 2 vlan 200

switch1(config)#spanning-tree mode mst

The same config is executed on switch2 and switch3 too.


For switch4, which is in a different mstp region, the region name and revision are configured and also stp
mode is changed to mstp:

switch4(config)#spanning-tree mst configuration

switch4(config-mst)#name region_2

switch4(config-mst)#revision 100

switch4(config-mst)#exit

switch4(config)#spanning-tree mode mst

Warning: all stp path cost will be set to default.

For each switch in the topology, switch ports are set as trunk ports and they are added to vlans 100 and
200.
Switch1:

switch1(config)#interface port 25,27

switch1(config-if)#switchport mode trunk

switch1(config-if)#switchport trunk allowed vlan 100,200


2013 IBM Corporation

System Networking

MSTP Configuration example

Then using similar commands, all the ports displayed in the topology need to be added to vlans 100 and
200 on each switch.

Note: Starting with images 7.8.1.0, the vlans mapped to mstp instances do not need to be previously
created on the switches. The vlan-stg mapping must be the same for switches in the same region, but
some of the vlans mapped to stg instances may not be created on the switch, or they can be created but
not enabled.

The switch with lowest Bridge ID in the topology will be elected CIST Root Bridge (Current Root). In this
case for switch4, the bridge priority for mst instance 0 is configured using a lower value than for rest of
switches:

switch4(config)#spanning-tree mst 0 priority 9000


MSTP CIST: bridge priority 9000 is changed to 8192

For MST instance 1, the Bridge Priority will be configured using a lower value than the priority for the
other 2 switches in region_1/MST 1, so that switch1 will be the Root Bridge for MST 1:

switch1(config)#spanning-tree mst 1 priority 9000


MSTP 1: bridge priority 9000 is changed to 8192

Also for MST 2, the Bridge Priority is configured a lower value than default for switch3, so that switch 3
will be the Root Bridge for MST2:

switch3(config)#spanning-tree mst 2 priority 13000


MSTP 2: bridge priority 13000 is changed to 12288

The Regional Root for region region_1 will be the switch with the best (lowest) cost to the region of
Current Root. In this topology switch2 or switch3 will be elected as Regional Root for region_1. The
default cost to region_2 is the same for switch2 and switch3. In order to have switch3 as the Regional
Root for region_1, on switch3 it is configured cost for port24 using a lower value than default, for mst
instance 0:

switch3(config)#interface port 24
switch3(config-if)#spanning-tree mst 0 cost 1999
2013 IBM Corporation

System Networking

MSTP Troubleshooting
Switch1 mstp information for mst1, and mst2
instances. It is the Root Bridge for MST1:

Switch1 mstp information for CIST (MST 0):

switch1(config)#sh spanning-tree mst 1 inf


-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
-----------------------------------------------------------------Spanning Tree Group 1: On (MSTP)
VLANs MAPPED: 100
VLANs: 100

switch1(config)#sh spanning-tree mst 0 inf


-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
Common Internal Spanning Tree:

Current Root:
Path-Cost Port
2000 08:17:f4:8c:b5:00
0
0
Parameters: Priority Aging Topology Change Counts
8192
300
3
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------25
128
2000! FWD DESG 2000-08:17:f4:8c:b5:00
8019
27
128
2000! FWD DESG 2000-08:17:f4:8c:b5:00
801b
! = Automatic path cost.
switch1(config)#sh spanning-tree mst 2 inf
-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
-----------------------------------------------------------------Spanning Tree Group 2: On (MSTP)
VLANs MAPPED: 200
VLANs: 200
Current Root:
Path-Cost Port
3000 08:17:f4:a2:71:00
2000
27
Parameters: Priority Aging Topology Change Counts
32768
300
3
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------25
128
2000! FWD DESG 8000-08:17:f4:8c:b5:00
8019
27
128
2000! FWD ROOT 3000-08:17:f4:a2:71:00
8011
! = Automatic path cost.

VLANs MAPPED: 1-99 101-199 201-4095


VLANs: 1 4095
Current Root:
Path-Cost Port MaxAge FwdDel
2000 00:02:f4:8c:8d:00 1999
27 20 15
P2P
P2P

Cist Regional Root:


Path-Cost
8000 08:17:f4:a2:71:00 2000
Parameters: Priority MaxAge FwdDel Hops
32768
20
15 20
Port
Prio Cost State Role Designated Bridge Des Port Hello Type
------------- ---- --------- ------- ---- ---------------------- -------- ----- --------25
128
2000! FWD DESG 8000-08:17:f4:8c:b5:00 8019 2
P2P
27
128
2000! FWD ROOT 8000-08:17:f4:a2:71:00 8011 2
P2P
MGT
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.

P2P
P2P
2013 IBM Corporation

System Networking

MSTP Troubleshooting

Spanning tree root table on switch1; It is the


Root Bridge for MST 1:

switch1(config)#sh spanning-tree root


Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------CIST
2000 00:02:f4:8c:8d:00 1999
2
20
15
27
1
2000 08:17:f4:8c:b5:00 0
2
20
15
0
2
3000 08:17:f4:a2:71:00 2000
2
20
15
27

Switch 2 MST 1 information:

Switch 2 MST 2 information:


switch2#sh spanning-tree mst 2 inf
-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
-----------------------------------------------------------------Spanning Tree Group 2: On (MSTP)
VLANs MAPPED: 200
VLANs: 200

switch2#sh spanning-tree mst 1 inf


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

Current Root:
Path-Cost Port
3000 08:17:f4:a2:71:00 2000
1

Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1

Parameters: Priority Aging Topology Change Counts


32768 300
6

-----------------------------------------------------------------Spanning Tree Group 1: On (MSTP)


VLANs MAPPED: 100
VLANs: 100
Current Root:
Path-Cost Port
2000 08:17:f4:8c:b5:00
2000
17
Parameters: Priority Aging Topology Change Counts
32768
300
7
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD DESG 8000-08:17:f4:a2:6c:00
8001
P2P
17
128
2000! FWD ROOT 2000-08:17:f4:8c:b5:00
8019
P2P
24
128
2000! DISC ALTN 8000-08:17:f4:a2:6c:00
8018
P2P
! = Automatic path cost.

Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD ROOT 3000-08:17:f4:a2:71:00 8001
P2P
17
128
2000! DISC ALTN 8000-08:17:f4:8c:b5:00 8019
P2P
24
128
2000! DISC ALTN 8000-08:17:f4:a2:6c:00 8018
P2P
! = Automa

Spanning Tree root table on switch2:

switch2#sh spanning-tree root

Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------CIST
2000 00:02:f4:8c:8d:00 1999
2 20 15
1
1
2000 08:17:f4:8c:b5:00 2000
2 20 15
17
2
3000 08:17:f4:a2:71:00 2000
2 20 15
1
2013 IBM Corporation

System Networking

MSTP Troubleshooting
Switch2 CIST Information:

Switch 3 MST1 and MST 2 information. It is the Root


Bridge for MST2 instance:

switch2#sh spanning-tree mst 0 inf


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

switch3(config)#sh spanning-tree mst 1 inf


-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
-----------------------------------------------------------------Spanning Tree Group 1: On (MSTP)
VLANs MAPPED: 100
VLANs: 100
Current Root:
Path-Cost Port
2000 08:17:f4:8c:b5:00 2000
17

Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1


Common Internal Spanning Tree:
VLANs MAPPED: 1-99 101-199 201-4095
VLANs: 1 4095
Current Root:
Path-Cost Port MaxAge FwdDel
2000 00:02:f4:8c:8d:00
1999
1
20
15
Cist Regional Root:
Path-Cost
8000 08:17:f4:a2:71:00
2000
Parameters: Priority MaxAge FwdDel Hops
32768
20
15 20
Port
Prio Cost State Role Designated Bridge Des Port Hello
------------- ---- --------- ------- ---- ---------------------- -------- ----- --------1
128
2000! FWD ROOT 8000-08:17:f4:a2:71:00
8001
P2P
17
128
2000! DISC ALTN 8000-08:17:f4:8c:b5:00
8019
P2P
24
128
2000! DISC ALTN 2000-00:02:f4:8c:8d:00
801a
P2P
MGTB
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.

Type
2
2
2

Parameters: Priority Aging Topology Change Counts


32768 300
6
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! DISC ALTN 8000-08:17:f4:a2:6c:00 8001
P2P
17
128
2000! FWD ROOT 2000-08:17:f4:8c:b5:00 801b
P2P
24
128
2000! FWD MAST 8000-08:17:f4:a2:71:00 8018
P2P
! = Automatic path cost.
switch3(config)#sh spanning-tree mst 2 inf
-----------------------------------------------------------------Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1
-----------------------------------------------------------------Spanning Tree Group 2: On (MSTP)
VLANs MAPPED: 200
VLANs: 200
Current Root:
Path-Cost Port
3000 08:17:f4:a2:71:00
0
0
Parameters: Priority Aging Topology Change Counts
12288 300
6
Port
Prio Cost State Role Designated Bridge
Des Port Type
------------- ---- ---------- ----- ---- ---------------------- -------- ---------1
128
2000! FWD DESG 3000-08:17:f4:a2:71:00 8001
P2P
17
128
2000! FWD DESG 3000-08:17:f4:a2:71:00 8011
P2P
24
128
2000! FWD MAST 3000-08:17:f4:a2:71:00 8018
P2P
2013 IBM Corporation
! = Automatic path cost.

System Networking

MSTP Troubleshooting
Switch 3 CIST Information:

Switch 4 CIST Information; It is the CIST Root Bridge


(Current Root):

switch3(config)#sh spanning-tree mst 0 inf


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

switch4(config)#sh spanning-tree mst 0 inf


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

Mstp Digest: 0x6da4b50c4fd587757eef0356753605e1

Mstp Digest: 0xac36177f50283cd4b83821d8ab26de62

Common Internal Spanning Tree:

Common Internal Spanning Tree:

VLANs MAPPED: 1-99 101-199 201-4095


VLANs: 1 4095

VLANs MAPPED: 1-4095


VLANs: 1 100 200 4095

Current Root:
Path-Cost Port MaxAge FwdDel
2000 00:02:f4:8c:8d:00
1999
24
20
15

Current Root:
Path-Cost Port MaxAge FwdDel
2000 00:02:f4:8c:8d:00
0
0 20 15

Cist Regional Root:


Path-Cost
8000 08:17:f4:a2:71:00
0

Cist Regional Root:


Path-Cost
2000 00:02:f4:8c:8d:00
0

Parameters: Priority MaxAge FwdDel Hops


32768
20
15 20
Port
Prio Cost State Role Designated Bridge Des Port Hello Type
------------- ---- --------- ------- ---- ---------------------- -------- ----- --------1
128
2000! FWD DESG 8000-08:17:f4:a2:71:00
8001
2
P2P
17
128
2000! FWD DESG 8000-08:17:f4:a2:71:00
8011
2
P2P
24
128
1999 FWD ROOT 2000-00:02:f4:8c:8d:00
801c
2
P2P
MGTB
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.

Parameters: Priority MaxAge FwdDel Hops


8192
20
15 20
Port
Prio Cost State Role Designated Bridge Des Port Hello Type
------------- ---- --------- ------- ---- ---------------------- -------- ----- --------26
128
2000! FWD DESG 2000-00:02:f4:8c:8d:00 801a 2
P2P
28
128
2000! FWD DESG 2000-00:02:f4:8c:8d:00 801c 2
P2P
MGT
0
0 FWD *
* = STP turned off for this port.
! = Automatic path cost.
switch4(config)#sh spanning-tree root
Instance
Root ID
Path-Cost Hello MaxAge FwdDel Root Port
---------- ---------------------- --------- ----- ------ ------ -----------CIST
2000 00:02:f4:8c:8d:00 0
2 20 15
0

2013 IBM Corporation

Vous aimerez peut-être aussi