All MIBs › CISCO-VTP-MIB › vtpDatabasePrimaryServer
vtpDatabasePrimaryServer
Module: CISCO-VTP-MIB
OID (symbolic): CISCO-VTP-MIB::vtpDatabasePrimaryServer
OID (numeric): 1.3.6.1.4.1.9.9.46.1.8.1.1.5
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-only
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.
A true(1) value indicates that the local device is the primary server of the database type in the management domain. A false(2) value indicates that the local device is not the primary server, or the database type is unknown to the local device.
What is vtpDatabasePrimaryServer?
This TruthValue object reports whether the local device currently holds the primary-server role for a particular VTP version 3 database type, as opposed to the default secondary-server role. This matters operationally because only the primary server is permitted to initiate or change that database type's configuration across the domain, so knowing which box holds this role tells an admin where authoritative VLAN or MST changes must be made. For example, if this object returns true(1) for the VLAN database type on switch A, the admin knows switch A -- not any other VTP server in the domain -- is the one to log into when new VLANs need to be added domain-wide.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.5 snmpwalk -v2c -c public <target> CISCO-VTP-MIB::vtpDatabasePrimaryServer
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.8.1.1.5.1 snmpget -v2c -c public <target> CISCO-VTP-MIB::vtpDatabasePrimaryServer.1
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::vtpDatabasePrimaryServer 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.5 | vtpDatabasePrimaryServer | CISCO-VTP-MIB |