All MIBs › RFC1353-MIB › partySecretsAuthPrivate
partySecretsAuthPrivate
Module: RFC1353-MIB
OID (symbolic): RFC1353-MIB::partySecretsAuthPrivate
OID (numeric): 1.3.6.1.2.1.21.1.1.1.2
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: An encoding of the party's private authentication key which may be needed to support the authentication protocol. Although the value of this variable may be altered by a management operation (e.g., a SNMP Set-Request), its value can never be retrieved by a management operation: when read, the value of this variable is the zero length OCTET STRING.
The private authentication key is NOT directly represented by the value of this variable, but rather it is represented according to an encoding. This encoding is the bitwise exclusive-OR of the old key with the new key, i.e., of the old private authentication key (prior to the alteration) with the new private authentication key (after the alteration). Thus, when processing a received protocol Set operation, the new private authentication key is obtained from the value of this variable as the result of a bitwise exclusive-OR of the variable's value and the old private authentication key. In calculating the exclusive-OR, if the old key is shorter than the new key, zero-valued padding is appended to the old key. If no value for the old key exists, a zero-length OCTET STRING is used in the calculation.
What is partySecretsAuthPrivate?
Write-only encoding of the party's private authentication key: reading it always returns a zero-length string. A write isn't the raw new key but the bitwise XOR of the old key and the new key, so the agent recovers the new key by XORing this value against the key it already holds -- a mechanism that lets a key be changed over the wire without ever transmitting it in the clear.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.21.1.1.1.2 snmpwalk -v2c -c public <target> RFC1353-MIB::partySecretsAuthPrivate
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.21.1.1.1.2.1 snmpget -v2c -c public <target> RFC1353-MIB::partySecretsAuthPrivate.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.21.1.1.1.2.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> partySecretsAuthPrivate.1
Start monitoring vendor-neutral, standards-based MIB, legacy SNMPv2p-capable network devices (obsolete security model) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1353-MIB::partySecretsAuthPrivate OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, legacy SNMPv2p-capable network devices (obsolete security model) from a single console.
OID Breakdown
Upper-level ancestors (6 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.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.21 | snmpSecrets | RFC1353-MIB |
| 1.3.6.1.2.1.21.1 | partyPrivate | RFC1353-MIB |
| 1.3.6.1.2.1.21.1.1 | partySecretsTable | RFC1353-MIB |
| 1.3.6.1.2.1.21.1.1.1 | partySecretsEntry | RFC1353-MIB |
| 1.3.6.1.2.1.21.1.1.1.2 | partySecretsAuthPrivate | RFC1353-MIB |