cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2677
Views
3
Helpful
3
Replies

What is the best way to add/delete a VLAN from a MST instance?

mnewnam05
Level 1
Level 1

Over several switches? Is there a single command you can issue from the root switch that propagates the change?Thanks

3 Replies 3

Francois Tallet
Level 7
Level 7

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

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.

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 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Review Cisco Networking for a $25 gift card