vtpDatabasePrimaryServer
CISCO-VTP-MIB ·
.1.3.6.1.4.1.9.9.46.1.8.1.1.5
Object
column SNMPv2-TCTruthValue
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.
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.8.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vtpDatabaseEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vtpDatabasePrimaryServer'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vtpDatabasePrimaryServer.<managementDomainIndex>.<vtpDatabaseIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-VTP-MIB::vtpDatabasePrimaryServer'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of