04-01-2020 03:47 PM - edited 04-01-2020 03:48 PM
Hi all, I hope you can help me.
I have 2 switches SG350, and I want to propagate the VLANS I create in one of them to the other, I know that in this model there is no VTP domain to do that. I found out that there is a similar command that does that, so this is the configuration I did in the ports that are doing the switch interconnection
SWITCH1
interface GigabitEthernet48
gvrp enable
spanning-tree link-type point-to-point
switchport mode trunk
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
SWITCH2
interface GigabitEthernet48
gvrp enable
spanning-tree link-type point-to-point
switchport mode trunk
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
Attached is the result of the GVRP status
The problem is that the new VLANS I create are not being propagated in the second switch
all your comments are well appreciated
thanks
04-02-2020 04:49 AM
04-02-2020 02:45 PM
04-02-2020 09:42 PM
Hello ,
Hope you are doing good.
GVRP does not work in the same fashion as VTP (Server - Client). When you have it enabled globally and on the interfaces that are interconnecting switches, It will propagate the VLANs created on the first switch where they were created statically to the GVRP enabled ports. For this to work on an access port the end device has to be GVRP enabled. (GVRP enabled NICs if servers or PCs).
The VLAN's propagated via GVRP to the downstream switches would be considered dynamic vlans versus static. If you are getting the error " vlan not created by user", this is what is being referenced.
Only static vlans (manually created) can be added to a port configured as an access port.
Adjacent VLAN-aware devices can exchange VLAN information with each other
by using Generic VLAN Registration Protocol (GVRP).
***[Adjacent VLAN-aware devices: switch to switch, switch port with GVRP enabled, set as General or Trunk to a GVRP-Enabled NIC on server or pc]
When a port joins a VLAN by using GVRP, it is added to the VLAN as a dynamic
member, unless this was expressly forbidden in the VLAN To Port Page. If the
VLAN does not exist, it is dynamically created when Dynamic VLAN creation is
enabled for this port."
*** This will allow you to add to an access port as untagged. ***
Since you have to perform this, GVRP is not the solution for propagating VLANs to end devices. Might as well create all statically.
I have gone in via CLI and performed the following:
conf t
vlan X (where X is the ID.... ex....vlan 2)
** you will receive a message that the vlan has changed from dynamic to static for GVRP VLANs
the vlans will be listed as static and gvrp
wr mem
i hope this will help you out.
04-03-2020 09:58 AM
Thanks aturawat
please correct me if I am wrong
So this is what I should do in order to propagate the velans from the Switch 1 to siwtch 2,
1.- Create all the vlans in switch 1
2.- Enable GVRP at global config in switch 1
3.- Enable GVRP in the port that conects the switch 1 with switch 2, and make it Trunk
4.- Enable GVRP in switch 2 at global config
5.-Enable GVRP in tine in the port that receives the conection from switch 1, and make it Trunk
Should I reboot the switch 2, or what else could be missing?
thanks
04-04-2020 01:04 AM
Hello,
Hope you are doing good.
Yes you are correct, please try to do the same.
Please update the firmware version on both the switches if running on old before configuring GVRP and then reboot the switch.
if in case you need any help please let us know.
you may open a case with us if you need further assistance.
04-06-2020 07:20 AM - edited 04-06-2020 07:20 AM
Thanks again, I´ll do what you mention and back with the results
regards
04-16-2020 07:41 AM
Apologies for replaying late, but with the contingency I´ve been working in some other stuff, today I reboot both switch 2 but it did not work, the vlans created in switch 1 did not propagate.
Do you know which is the last firmware for these switches?
the sh ver command shows in switch 1
sh ver
Active-image: flash://system/images/image1.bin
Version: 2.4.5.71
MD5 Digest: 2dff89efdb2a0ec2f9a2c414ff7d401c
Date: 04-Nov-2018
Time: 19:46:16
Inactive-image: flash://system/images/_image1.bin
Version: 2.4.5.71
MD5 Digest: 2dff89efdb2a0ec2f9a2c414ff7d401c
Date: 04-Nov-2018
Time: 19:46:1
the sh ver command shows in switch 2
Active-image: flash://system/images/image1.bin
Version: 2.5.0.83
MD5 Digest: 07968d912499cff5e8b07fdc24779854
Date: 18-Jun-2019
Time: 16:49:35
Inactive-image: flash://system/images/_image1.bin
Version: 2.5.0.83
MD5 Digest: 07968d912499cff5e8b07fdc24779854
Date: 18-Jun-2019
So it looks like they have different versions, Could this be the problem?
best regards
04-18-2020 11:16 PM
Hello Oscar,
Did you tried GVRP with autosmartport disabled?
Regards,
Mike
04-18-2020 11:49 PM
Hi Oscar,
hope you are doing good.
i can see that devices are running on old firmware, you can use the link given below to download the latest one:
If in case you face any issue then please let us know.
Regards,
Atul
05-27-2020 06:58 PM
Thank You,
Apologies but I hadn´t come to the office until now, because of the contingency.
Finally I had updated both switches to 2.5.0.92, but it did not work, no VLANs were propagated.
about the option of disabling auto smart port, Should this be done just in the interfaces that connect both switches, or do I have to disable it in the global configuration of each switch?
thanks for your support.
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