All MIBs › CISCO-VTP-MIB › vtpDatabaseTakeOverPrimary
vtpDatabaseTakeOverPrimary
Module: CISCO-VTP-MIB
OID (symbolic): CISCO-VTP-MIB::vtpDatabaseTakeOverPrimary
OID (numeric): 1.3.6.1.4.1.9.9.46.1.8.1.1.7
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: There are two kinds of VTP version 3 servers for a certain database type - the primary server and the secondary server. When a local device is configured as a server for a certain database type, it becomes secondary server by default. Primary server is an operational role under which a server can initiate or change the VTP configuration of the database type.
Setting this object to a true(1) value will advertise the configuration of this database type to the whole domain.
In order to successfully setting this object to true(1), the value of vtpDatabaseLocalMode must be server(2). Besides that, when the VTP password is hidden from the configuration file, the password (vtpDatabaseTakeOverPassword) which matches the secret key (vtpAuthSecretKey) must be provided in the same data packet.
When read, the object always returns false(2).
What is vtpDatabaseTakeOverPrimary?
This read-write TruthValue triggers a change of the primary-server role: setting it to true(1) advertises the local secondary server's configuration for a database type as the new authoritative one for the domain. An admin uses this to forcibly reassert control of VLAN or MST configuration from a device, for example when the existing primary server is unreachable or misconfigured and the domain needs a new authoritative source. For instance, an admin might set this object true on a backup core switch to take over as primary for the VLAN database after the original primary switch fails.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.7 snmpwalk -v2c -c public <target> CISCO-VTP-MIB::vtpDatabaseTakeOverPrimary
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.7.1 snmpget -v2c -c public <target> CISCO-VTP-MIB::vtpDatabaseTakeOverPrimary.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.7.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::vtpDatabaseTakeOverPrimary 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.7 | vtpDatabaseTakeOverPrimary | CISCO-VTP-MIB |