vtpDatabaseTakeOverPrimary
CISCO-VTP-MIB ·
.1.3.6.1.4.1.9.9.46.1.8.1.1.7
Object
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).
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.8.1.1.7- Type
- column
- Access
- readwrite
- 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::vtpDatabaseTakeOverPrimary'
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::vtpDatabaseTakeOverPrimary.<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::vtpDatabaseTakeOverPrimary'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of
Compliance refinements
vtpMIBCompliance14
readonly
Write access is not required.
vtpMIBCompliance15
readonly
Write access is not required.
vtpMIBCompliance16
readonly
Write access is not required.