jueves, 26 de enero de 2012

VTP version 3 - Primary Server

VTP es un protocolo que tiene sus particularidades, todo el mundo lo sabe... Pero en la versión 3 hay algunas mas, una de ellas, es que en un dominio solo un dispositivo puede enviar la base de datos de VLANs. A este dispositivo se lo denomina "primary server". Si no se configura expresamente un primary server, ya se podrá tener la configuración perfecta, que VTP no transmitirá información de VLANs a los demás dispositivos que integran el domino VTP. 
Para peor, si se decide configurar las VLANs y después activar la versión 3, VTP no dará ningún mensaje advirtiendo este punto. 
Pero si se activa la versión 3 y después se desea crear alguna VLAN, aparecerá este mensaje...


DISTRIBUCION(config)#vlan 100
VTP VLAN configuration not allowed when device is not the primary server for vlan database.


Si miramos el estado de VTP, veremos algo que nos podra dar una pista...


DISTRIBUCION#sh vtp status
VTP Version capable             : 1 to 3
VTP version running             : 3
VTP Domain Name                 : TEST_LAB
VTP Pruning Mode                : Disabled
VTP Traps Generation            : Disabled
Device ID                       : c464.137d.3500


Feature VLAN:
--------------
VTP Operating Mode                : Server
Number of existing VLANs          : 11
Number of existing extended VLANs : 0
Maximum VLANs supported locally   : 1005
Configuration Revision            : 0  <-- Esto quiere decir que VTP no envia anuncios
Primary ID                        : 0000.0000.0000
Primary Description               : 
MD5 digest                        : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
                                    0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 



Entonces que esta fallando?


No existe ningún "primary server" definido..... 


Como lo hacemos? muy fácil...



DISTRIBUCION#vtp primary     
This system is becoming primary server for feature vlan 


Ahora si, VTP funcionando como en los viejos tiempos de versión 1 y versión 2 y podremos hasta crear VLANs y todo!!!  ;)



DISTRIBUCION#sh vtp status
VTP Version capable             : 1 to 3
VTP version running             : 3
VTP Domain Name                 : TEST_LAB
VTP Pruning Mode                : Disabled
VTP Traps Generation            : Disabled
Device ID                       : c464.137d.3500


Feature VLAN:
--------------
VTP Operating Mode                : Primary Server
Number of existing VLANs          : 11
Number of existing extended VLANs : 0
Maximum VLANs supported locally   : 1005
Configuration Revision            : 1