02-09-2006 11:50 AM - edited 03-03-2019 01:45 AM
Over several switches? Is there a single command you can issue from the root switch that propagates the change?Thanks
02-09-2006 04:08 PM
No. Unfortunately there is no such mechanism defined by the MST spec. The manual configuration of the mst regions is actually the trick that makes the protocol relatively simple... but not very flexible I admit.
If you are running CatOS however there is a way to achieve this: VTP3 will take care of propagating the MST configuration along the VTP domain.
Else, you'll have to configure the switches one by one, which is going to be painful and will disturb your traffic.
You can take this opportunity to plan a little bit for the future. What you can do is create in the MST configuration more instances than you need and map evenly all the vlans to them.
Suppose you currently need 2 instances and 10 vlans and that you may require up to 10 instances in the future:
- create 10 instances by mapping 400 vlans to each (well, of course map the 10 vlans you currently use to the two instances you currently need).
- make sure that the vlans for the 8 instances you don't currently need are not created (here I mean not created in the VTP database).
Our MST code is optimized so that an instance is not run unless there is at least one vlan that is mapped to it and that is active on one port in the switch (the only exception is instance 0 that always exists.)
Thus, the current setup does not require more resources that if you only had configured two instances with 10 vlans. Now, if you need a new vlan in one of your two current instances, you have plenty to choose from. If you need some vlans with a different topology: just use one that is mapped to an usued instance. This way, you can at least quietly add/remove vlan without disrupting the traffic because you are not modifying the VTP configuration.
Hope this helps,
Francois
11-24-2021 05:41 PM
To add a VLAN to an instance,
Switch# conf t
Switch# spanning-tree mst configuration
Switch# instance 1 vlan 90 (this will add vlan 90 to instance 1)
To remove a VLAN from an instance, simply assign it to another instance. By default, they will all be in instance 0.
11-30-2021 06:55 AM
Hello
you don’t prune mst instances for one and to remove a vlan from one instance to another would require you to make changes to mst configuration manually to all devices unless you have centralised administration /automation
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