Monitoring VTP This section describes commands used to display and monitor the VTP configuration. You monitor VTP by displaying VTP configuration information: the domain name, the current VTP revision, and the number of VLANs. You can also display statistics about the advertisements sent and received by the device. Table 2:
VTP Monitoring Commands Purpose Command Displays counters about VTP message show vtp counters show vtp devices [ conflict ] Displays information about all VTP ve version 3 devices with conflicting prim not display information when the devi Displays VTP status and configuration show vtp interface [ interface-id ] Displays whether the VTP password i show vtp password Displays the VTP device configuration show vtp status Configuration Examples for VTP The following section shows a VTP configuration example: Example:
Configuring a Device as the Primary Server This example shows how to configure a device as the primary server for the VLAN database (the default) when a hidden or secret password was configured: Device# vtp primary vlan Enter VTP password: mypassword This switch is becoming Primary server for vlan feature in the VTP domain VTP Database Conf Switch ID Primary Server Revision System Name ------------ ---- -------------- -------------- -------- -------------------- VLANDB Yes 00d0.00b8.1400=00d0.00b8.1400 1 stp7 Do you want to continue (y/n) [n]? y Where to Go Next After configuring VTP, you can configure the following:
• VLANs Configuring VTP Monitoring VTP VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 19