09-13-2017 06:26 AM - edited 03-08-2019 12:00 PM
Hello,
I need to implement spanning-tree MSTP on a network
Number of switches on the network L2 : 400
MSTP technical specifications
1 domain
No vlan in instance 0
Vlans 1-4094 in instance 1
Is there a limitation on the number of switches supported by the MSTP protocol?
Thank you.
Vincent.
09-13-2017 06:58 AM
As far as I know there is no limitation regarding number of switches in domain, however there can be limitation of number of "L2 hops" diameter (20 by default).
Global configuration command spanning-tree mst max-hops can be used to adjust max-hops number if necessary.
09-13-2017 07:01 AM - edited 09-13-2017 07:16 AM
Hi
Do you keep a hierarchical L2 infrastructure?, I have never heard about the maximum switches just instances, do you have all of them on the same network segment or are they limited by routers? I think you should consider the diameter only, recommended diameter of 7. https://slaptijack.com/networking/max-spanning-tree-stp-diameter/
spanning-tree mst instance-id root secondary [ diameter net-diameter[ hello-time seconds ]] | Configures a switch as the secondary root switch.
Use the same network diameter and hello-time values that you used when configuring the primary root switch. |
Calculate the diameter: https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/19120-122.html
09-13-2017 07:06 AM
Number of 7 hops by default is applicable only to 802.1d not to 802.1w or 802.1s.
09-13-2017 07:17 AM
Beginning in privileged EXEC mode, follow these steps to configure the maximum-hop count for all MST instances. This procedure is optional.
Command Purpose
Step 1 | configure terminal | Enter global configuration mode. |
Step 2 | spanning-tree mst max-hops hop-count | Specify the number of hops in a region before the BPDU is discarded, and the information held for a port is aged. For hop-count, the range is 1 to 255; the default is 20. |
Step 3 | end | Return to privileged EXEC mode. |
Step 4 | show spanning-tree mst | Verify your entries. |
Step 5 | copy running-config startup-config | (Optional) Save your entries in the configuration file. |
09-14-2017 01:57 AM
Hi Julio,
Thank you for your reply.
You can find attached the target architecture.
The real estimated number of switches is around 250 (not 400).
Vlans are propagated everywhere on the network (around 200).
Do you confirm that the number of switches is not an issue (one region and one instance MSTP) ?
According to me, the diameter in the network is 6. Could you confirm?
Thanks
Vincent.
09-14-2017 09:44 AM - edited 09-14-2017 09:48 AM
There can be limitation of number of active STP logical ports and need to be calculated regarding controller that you are using (not number of switches). For more details please read article:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide