Solved

Cisco Switch - Vlan Database

Posted on 2013-10-30
22
726 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
ID: 39611988
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
ID: 39612045
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
ID: 39612078
How is the bad switch connected to the VTP server?  Is it directly connected, or via a different switch?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 7

Author Comment

by:bcrosby007
ID: 39612096
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
ID: 39612343
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
ID: 39612370
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
ID: 39612404
All good there...

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

Author Comment

by:bcrosby007
ID: 39612503
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
ID: 39612512
Have you tried connecting the switch directly to the VTP server (not that you should have to!)?
0
 
LVL 4

Expert Comment

by:askincakir
ID: 39613467
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
ID: 39613656
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
 
LVL 7

Author Comment

by:bcrosby007
ID: 39613938
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
ID: 39613992
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
ID: 39614019
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
ID: 39614102
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
ID: 39614103
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
ID: 39614107
Hi,

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

Author Comment

by:bcrosby007
ID: 39614177
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
ID: 39614317
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
ID: 39614640
Check to see if you have vtp password setup.....
0
 
LVL 7

Accepted Solution

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

Author Closing Comment

by:bcrosby007
ID: 39658862
Never actually fixed it. Wack.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

831 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