MVRP deleting VLANs

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hello, colleagues!

On swithces configured MVRP.
VLANs adding normally.
BUT
When I delete VLAN on upstream switch, they don't removing from downstream switch.

It's issue or normal behavior?

Thank you!
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
could you collect the below details and reach out to GTAC
1.show tech all
2.show config
3.Toplogy
4.show log messages nvram
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
Hi,

yes, that sounds normal to me. MVRP is a end-to-end protocol, and each end signals the VLAN. I'm expecting to see a new VLAN (SYS_VLAN_xxxx) created on the switch where you deleted it, to replace the one you deleted (because the other end is still signaling it).

To completely remove a dynamic VLAN, you need to delete it on both end. All the intermediate switches will then remove it as well.
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
Thank you for answers!

VLANs is nomally adding in downstream switch.
But in this VLANS (SYS_VLAN_XXXX) only 1 port, that connect to upstream switch.

How can I dynamically add few (for example 10) ports in vlan?

Or there is other analogue of Cisco's VTP?

Thank you!
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
This is expected to have only 1 port (the uplink), if nothing else is configured. The switch has MVRP enabled globally (as I understand you did), and it receives from the other end a MVRP update. So it creates dynamically the vlan and add the port where the MVRP PDU has been received.

As you may have already experienced, you can't add manually ports to a dynamically created vlan. One way to do it is to rename the vlan, so that it becomes static, and then you can add ports to it.

Ports could be added dynamically if MVRP enabled end-devices were connected to the switch, on MVRP enabled ports.

This is typically the use case with AVB.
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb
So, back to the topic.

Which is the quickest command to delete 100 vlans (out of 200 dynamically created vlans) on 20 mvrp enabled switches?

Thank you
--
antonio
Photo of Chad Smith

Chad Smith, Alum

  • 5,660 Points 5k badge 2x thumb
Antonio,

The VLANs should age out on their own if they are not being advertised elsewhere in the network.  If they are being advertised, they will come back once deleted.  

To prevent them from being added on the switch you can forbid those VLAN tags in MVRP (or disable MVRP):

conf mvrp tag <VLAN> ports <PORT_LIST> registration forbidden 

Once the tags are forbidden, the VLANs should be automatically removed.  This assumes the VLAN has not been converted from a dynamic (i.e. SYS_VLAN_XXXX) to a user created VLAN.

The fastest way to do that for a large number of VLANs on multiple switches would be to create a quick script to execute the above command for each VLAN and port (or all ports.)
(Edited)
Photo of Antonio Prado

Antonio Prado

  • 610 Points 500 badge 2x thumb
chad,

thank you for your reply.

What I noticed is that after deleting a VLAN it suddenly disappears from STP domain ('T' flag) then, matter of seconds (maybe related to some timer setting), it ages out as you told me.

thank you
--
antonio
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
There's a 30sec hold-on timer.