vtpDatabasePrimaryServerId
CISCO-VTP-MIB ·
.1.3.6.1.4.1.9.9.46.1.8.1.1.6
Object
column OctetString
The unique identifier of the primary server in the
management domain for the database type.
If no primary server is discovered for the database
type, the object has a value of zero length string.
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.8.1.1.6- 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::vtpDatabasePrimaryServerId'
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::vtpDatabasePrimaryServerId.<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::vtpDatabasePrimaryServerId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64
Conformance
Member of