The following table describes the three VTP modes
VTP Mode
|
Description
|
VTP server
|
You can create, modify, and
delete VLANs and specify other configuration parameters, such as VTP version
and VTP pruning, for the entire VTP domain. VTP servers advertise their VLAN
configuration to other switches in the same VTP domain and synchronize their
VLAN configuration with other switches based on advertisements received over
trunk links.
VTP server is the default
mode.
|
VTP client
|
VTP clients behave the same
way as VTP servers, but you cannot create, change, or delete VLANs on a VTP
client.
|
VTP transparent
|
VTP transparent switches do
not participate in VTP. A VTP transparent switch does not advertise its VLAN
configuration nor synchronize its VLAN configuration based on received
advertisements. Transparent switches do forward VTP advertisements that they
receive out their trunk ports in VTP Version 2.
|
If switch in VTP
Server or Transparent mode VLAN will create when port assign to a new port
WTM1(config)#interface fastEthernet 0/6
WTM1 (config-if)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100
WTM1 (config-if)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100
Or we can
configure vlan in configure mode in VTP server and it will propagate the VLAN to other switches and
will include the port when we assign the port to that particular VLAN.
WTM1 (config)#vlan 100
WTM1 (config-vlan)#name Server-Farm-1
WTM1 (config-vlan)#exit
WTM1 (config-vlan)#name Server-Farm-1
WTM1 (config-vlan)#exit
Deactivate port by shutting down VLAN
We can change
VLAN status to deactivate port
WTM1(config)# vlan 120
WTM1(config-vlan)#
shutdown
This only deactivate that port only and can be use from switch any VTP state.
If we need to shutdown entire VLAN we can use suspend command.
WTM1(config)# vlan 120
WTM1(config-vlan)#
state suspend
this will deactivate all port assign to that VLAN in that VTP domain.
No comments:
Post a Comment