What is VTP and Configuring VTP
VTP is a Layer 2
messaging protocol that maintains the consistency of VLAN configuration by
managing the deletions, additions, and VLANs name changes across the networks.
It helps with the management of VLAN and although it makes the VLAN
troubleshooting and configuration easier. It also does not provide the trunking
method between the devices.
VTP
benefits include the following:
v Consistency
of VLAN configuration across the network.
v VLANs
monitoring and accurate tracking.
v Dynamic
reporting of VLAN additions across the network.
The place where the VLANs are deleted, created, and renamed for the domain that is a server. The VLAN information is advertised to other switches by the VTP Servers in the same VTP domain and stores the information of VLAN in NVRAM.
In client mode, the VLANs cannot be created, deleted, or changed only the information of the VLAN can be reset or deleted by a switch. Configure the switch to change the mode VTP to a client.
The advertisements of
VTP are forward by VTP transparent mode switches to VTP servers and VTP
clients, but only implement VTP advertisements or don’t originate. The renamed,
deleted, or created VLAN on a VTP transparent mode switch are local to only
that switch.
Configuring VTP in Packet Tracer |
Switch>enable
Switch# configure
terminal
Enter configuration
commands, one per line. End with CNTL/Z.
Switch (config) #hostname
Networking2
Networking2 (config) #end
Networking2#
show vtp status
VTP Status |
Note: By default, the switch is configured to be VTP
Servers without a VTP domain.
Networking2#
configure terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
Networking2
(config) #vtp mode?
VTP Mode Client |
Networking2
(config) #vtp mode client
Setting device
to VTP CLIENT mode
Networking2
(config) #end
Networking2#
show vtp status
VTP Client Mode Status |
Networking2#
configure terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
Networking2
(config) #vtp mode transparent
Setting device
to VTP TRANSPARENT mode
Networking2
(config) #end
Networking2#
show vtp status
VTP Transparent Mode Status |
In the context of
synchronizing VTP Databases, the names of the VTP domain are only used. The
broadcast domains are not separated by VTP domain names. Using the VTP
advertisements, all switches share the configuration details of VLAN in a
domain. The Cisco Catalyst Switches have a logical group and the group of VTP
domain consists of that logical group which is the part of same VTP domain
management. At any time a Catalyst
Switch of Cisco belongs to only one VTP domain.
Networking2#
show vtp status
VTP Status |
Networking2#configure
terminal
Enter configuration
commands, one per line. End with CNTL/Z.
Networking2
(config) #vtp domain IT
Changing VTP domain name from NULL to IT
Networking2 (config) #end
Networking2#
show vtp status
VTP Domain Status |
The password must have
been configured on all switches in the VTP domain if you configure a password
for VTP. All those switches must have the same password. The password is
translated into a 16-byte word (MD5
value) by the algorithm you configured that is carried in all VTP
summary-advertisement packets.
Note: For specific
reasons before the VTP domain we configure the VTP password. The switch after
configuring the VTP domain name will begin sending out VTP messages on all
active trunk links. If the switches are using the default VTP (no password,
server mode, and domain name as a null) on the other trunk end, they will start
using the domain name sent in the VTP messages.
If the receiving switch
has a configuration revision number higher than the server configured, this can
cause the corruption of the VLAN database. The switch at receiving end is also
a VTP server and to configure the VTP server it will send out its VLAN
database. For this to happen, configure the password first to avoid the
potential.
Networking2#show
vtp password
The VTP password is not configured.
Networking2#configure
terminal
Enter configuration
commands, one per line. End with CNTL/Z.
Networking2 (config) #vtp
password Routing
Setting device VLAN database password to Routing
Networking2 (config) #
end
Networking2#show vtp
password
VTP Password: Routing
Networking2#configure
terminal
Enter configuration
commands, one per line. End with CNTL/Z.
Networking2 (config) #
no vtp password Routing
Clearing device VLAN database password
Networking2 (config) #end
Networking2#show
vtp password
The VTP password is not configured.
- How to configure VTP
- VTP configuration in packet tracer
- What is VTP and why it is used?
- What is VTP and its types?
0 Comments