cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2582
Views
5
Helpful
10
Replies

GVRP configuration between 2 SG350

OscarPerez93198
Level 1
Level 1

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

10 Replies 10

aturawat
Cisco Employee
Cisco Employee
Hi.. As i can see that you have configured GVRP as VTP is not supported by these switches... To enable the GVRP globally on the switch, enter the following: SG350X(config)#gvrp enable SG350X(config)#interface [interface-id] Since GVRP requires support for tagging, the port must be configured in Trunk or General mode. To configure the VLAN membership mode of the interface, enter the following: SG350X(config-if)#switchport mode [trunk | general] To enable GVRP on the interface, enter the following: SG350X(config-if)#gvrp enable

Thanks aturawat, actually that is the way I configured the switches, GVRP is enabled in both interfaces, both ports are in trunk mode, and GVRP is enabled en global configuration, but ir is not working,

this is the configurations in the ports of each switches:
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

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.

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

 

 

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.

 

Thanks again, I´ll do what you mention and back with the results

 

regards

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

 

Hello Oscar,

Did you tried GVRP with autosmartport disabled?

 

Regards,

Mike

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:

https://www.cisco.com/c/en/us/support/switches/sg350-10-10-port-gigabit-managed-switch/model.html#~tab-downloads

If in case you face any issue then please let us know.

Regards,

Atul

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.