vtpAuthSecretKey
CISCO-VTP-MIB ·
.1.3.6.1.4.1.9.9.46.1.9.1.1.3
Object
column r/w
OctetString
The device creating or modifying the VTP configuration
signs it using the MD5 digest generated from the secret
key before advertising it. Other devices in the domain
receiving this configuration use the same secret key
to accept it if it was correctly signed or drop it
otherwise.
By default, the object has the value as a zero-length
string and this value is read only. It is set
to this value automatically when the password
(vtpAuthPassword) is set to a zero-length octet string.
The secret key can be either generated using
the password or configured by the user. Once
the secret key is configured by the user, it is
stored as a hexadecimal string in the device's
configuration and the password is considered to be
the secret key's matching password and hidden
from the configuration automatically.
This object is not allowed to be set at the same
time when vtpAuthPassword is set.
The secret key is overwritten by a newly generated
secret key when the password is re-configured.
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.9.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vtpAuthEntry
- 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::vtpAuthSecretKey'
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::vtpAuthSecretKey.<managementDomainIndex>'
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::vtpAuthSecretKey'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-0
range: 16-16
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.