Link to home
Start Free TrialLog in
Avatar of bcrosby007
bcrosby007Flag for United States of America

asked on

Cisco Switch - Vlan Database

I have 8 cisco switches on my network and all but 1 show the correct vlans. I have one switch as the server, the rest are clients. The VTP Domain name is the same on all.
The ports between the switches are set to trunk with dot1q encapsulation.

How can i get Vlans to propagate to the switch?

VTP Status - Bad Switch
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 6
VTP Operating Mode              : Client
VTP Domain Name                 : domainname
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x92 0xC0 0xF0 0xE7 0x2D 0x3E 0x3B 0x26
Configuration last modified by 0.0.0.0 at 3-1-93 00:18:09

Open in new window


Good Switch
VTP Version capable             : 1 to 3
VTP version running             : 1
VTP Domain Name                 : domainname
VTP Pruning Mode                : Disabled
VTP Traps Generation            : Disabled
Device ID                       : 001c.57af.fa80
Configuration last modified by 192.168.1.1 at 3-7-93 08:57:58

Feature VLAN:
--------------
VTP Operating Mode                : Client
Maximum VLANs supported locally   : 1005
Number of existing VLANs          : 12
Configuration Revision            : 10
MD5 digest                        : 0xA9 0xAE 0x3D 0x2A 0x22 0x99 0x7E 0x3C
                                    0x01 0xDB 0x89 0x39 0xEF 0x4E 0xC0 0x8B

Open in new window

Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland image

Change the VTP version to 1 on the bad switch.

Then, on the bad switch, change the VTP domain name to something different, then change the domain name back to what it should be.  It should get the correct VTP settings then.
Avatar of bcrosby007

ASKER

When i tried changing to vtp version 1, the router said
Cannot modify version in VTP client mode.
I switched to server mode and re-ran the command and it stated that it was already in version 1.
I switched it back to client. changed the Domain, and changed it back.
Still no luck pulling down the vlans.
How is the bad switch connected to the VTP server?  Is it directly connected, or via a different switch?
My VTP server in my mdf has a fiber connection to a switch in my  IDF. From that switch, i am connected to the "bad switch". The other switches in that rack have the correct database. The connected switch ports are set to trunk and dot1q encapsulation.
Can you post the config of the trunk link between the VTP server and the switch in the IDF, and the trunk link between the two IDF switches?
VTP Server to IDF Working Switch
interface GigabitEthernet0/28
 switchport trunk encapsulation dot1q
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 srr-queue bandwidth shape  10  0  0  0
 queue-set 2
 mls qos trust cos
 auto qos voip trust

Open in new window

IDF Working Switch from MDF
interface GigabitEthernet0/28
 switchport trunk encapsulation dot1q
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos voip trust
!

Open in new window

IDF Working Switch to Bad Switch
interface GigabitEthernet0/23
 description 'SW-7'
 switchport trunk encapsulation dot1q
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 srr-queue bandwidth shape 10 0 0 0
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos voip trust

Open in new window

IDF Bad Switch from IDF Working Switch
interface GigabitEthernet0/24
 description UPLINK TO SW-3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 srr-queue bandwidth shape  10  0  0  0
 queue-set 2
 mls qos trust cos
 auto qos voip trust

Open in new window

All good there...

You tried setting the bad switch to transparent, then back to client?
I tried that.. I have an 8 port switch that also doesnt get the vlan database. i had to manually add all of my vlans.
Have you tried connecting the switch directly to the VTP server (not that you should have to!)?
Avatar of askincakir
askincakir

Hi,
Change all the switchtes to run version 2. Then re try to create vlans.
conf t
vtp version 2
end
-
PS: try to see that vtp V2 MODE is enabled. In some ios versions may need to reboot the switch.
PS2: All switches should run in version 2 mode.
Technically they don't 'have to run in version 2 mode... they can be in version 1 mode and will work just as well in your setup - in theory :-)
If i blow away and recreate vlans, wont it affect all of my network traffic? I have a ton of cisco phones on a separate vlan that i dont want to affect.
I think askincakir means see if the switch will recreate the VLANs...

As you correctly state, blowing away the VLANs would be catastrophic!

Maybe deleting the vlan.dat file from flash on the bad switch is an option?
Hi,
You need to trigger the VTP service on switches. To do this you can create a vlan.
Dont delete any vlan which you are using and then re create it. Just use another vlan which is not used in your system.
Deleting a vlan which is already in use ( for example as you mentioned for voip) would be a catastrophic situation.

Also, it seems that the switch softwares are different in the bad one. You may need to consider to upgrade it too.

Br,
I cant add a vlan when it is in client mode..

%VTP VLAN configuration not allowed when device is in CLIENT mode.

Open in new window

This switch is newer than the other ones on my network.
I am thinking at this point there might be IOS conflicts..
Hi,

VLAN's should be created on VTP servers only.
I created vlan 111 on the vtp server. It replicated to all of the clients except the bad switch.
VTP should be compatible with any version of IOS.  However, we all know what Cisco's IOS is like... :-)
Check to see if you have vtp password setup.....
ASKER CERTIFIED SOLUTION
Avatar of bcrosby007
bcrosby007
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Never actually fixed it. Wack.