Solved

Cisco Switch - Vlan Database

Posted on 2013-10-30
22
715 Views
Last Modified: 2013-11-19
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

0
Comment
Question by:bcrosby007
  • 10
  • 8
  • 3
  • +1
22 Comments
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
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.
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
How is the bad switch connected to the VTP server?  Is it directly connected, or via a different switch?
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
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?
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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

0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
All good there...

You tried setting the bad switch to transparent, then back to client?
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
Have you tried connecting the switch directly to the VTP server (not that you should have to!)?
0
 
LVL 4

Expert Comment

by:askincakir
Comment Utility
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.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
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 :-)
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
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?
0
 
LVL 4

Expert Comment

by:askincakir
Comment Utility
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,
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
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

0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
This switch is newer than the other ones on my network.
I am thinking at this point there might be IOS conflicts..
0
 
LVL 4

Expert Comment

by:askincakir
Comment Utility
Hi,

VLAN's should be created on VTP servers only.
0
 
LVL 7

Author Comment

by:bcrosby007
Comment Utility
I created vlan 111 on the vtp server. It replicated to all of the clients except the bad switch.
0
 
LVL 45

Expert Comment

by:Craig Beck
Comment Utility
VTP should be compatible with any version of IOS.  However, we all know what Cisco's IOS is like... :-)
0
 
LVL 12

Expert Comment

by:Infamus
Comment Utility
Check to see if you have vtp password setup.....
0
 
LVL 7

Accepted Solution

by:
bcrosby007 earned 0 total points
Comment Utility
I ended up manually creating each vlan on the switches that would not replicate.
0
 
LVL 7

Author Closing Comment

by:bcrosby007
Comment Utility
Never actually fixed it. Wack.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now