Cisco IOS – “configuration not allowed when device is not the primary server for vlan database.”

Advertisement

KB ID 0001127 Dtd 11/01/16

Problem

I was trying to delete a VLAN form a client switch, and this was happening;

Core-3560#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Core-3560(config)#no vlan 30
VTP VLAN configuration not allowed when device is not the primary server for vlan database.

Solution

Now as far as I was aware there was only one switch, (certainly on this LAN segment anyway). What you need to do is change the VTP mode to transparent, then you can make your changes. Afterwards I changed the mode back because a. Never assume you know everything, b. They are at the other end of the country, and c. Its never cause a problem before.

Core-3560-S(config)#vtp mode transparent
Setting device to VTP Transparent mode for VLANS.

NOW I CAN RECONFIGURE VLANS

Core-3560(config)#no vlan 30
Core-3560(config)#vlan 120
Core-3560(config-vlan)#name Voice-VLAN
Core-3560(config-vlan)#exit
Core-3560(config)#no vtp mode transparent
Resetting device to VTP SERVER mode.

Related Articles, References, Credits, or External Links

NA

Author: PeteLong

Share This Post On

1 Comment

  1. awesome to know that and how it done…..Thanks

    Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *