All MIBs › CISCO-VTP-MIB › vtpDatabaseTakeOverPassword
vtpDatabaseTakeOverPassword
Module: CISCO-VTP-MIB
OID (symbolic): CISCO-VTP-MIB::vtpDatabaseTakeOverPassword
OID (numeric): 1.3.6.1.4.1.9.9.46.1.8.1.1.8
Node type: OBJECT-TYPE
Type: SnmpAdminString
Access: read-write
Description: When read, this object always returns the value of a zero-length octet string.
In the case that the VTP password is hidden from the configuration and the local device intends to take over the whole domain, this object must be set to the matching password with the secret key (vtpAuthSecretKey) in the same data packet as which the vtpDatabaseTakeOverPrimary is in. In all the other situations, setting a valid value to this object has no impact on the system.
What is vtpDatabaseTakeOverPassword?
This write-oriented string always reads back as an empty octet string, but when set it supplies the VTP domain password needed to authorize a takeover when the domain's password is hidden rather than stored in plaintext. This exists so that an admin performing a vtpDatabaseTakeOverPrimary action against a domain with a hidden password can still prove they know the correct secret, preventing unauthorized devices from hijacking the primary-server role. For example, before setting vtpDatabaseTakeOverPrimary to true on a domain using a hidden password, the admin must set this object to the matching password in the same SNMP request.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.8 snmpwalk -v2c -c public <target> CISCO-VTP-MIB::vtpDatabaseTakeOverPassword
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.8.1 snmpget -v2c -c public <target> CISCO-VTP-MIB::vtpDatabaseTakeOverPassword.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.8.1 s <value>
Start monitoring Cisco Catalyst switches (VLAN Trunking Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-VTP-MIB::vtpDatabaseTakeOverPassword OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switches (VLAN Trunking Protocol) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.46 | ciscoVtpMIB | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1 | vtpMIBObjects | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.8 | vtpDatabase | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.8.1 | vtpDatabaseTable | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.8.1.1 | vtpDatabaseEntry | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.8.1.1.8 | vtpDatabaseTakeOverPassword | CISCO-VTP-MIB |