sshHostKeyDelAction
ECS4120-MIB ·
.1.3.6.1.4.1.259.10.1.45.1.17.6.28
Object
scalar r/w
Enumeration
To delete the host key.
For the set behavior:
Set it to delRsaKey(2) to delete the RSA host key.
For the get behavior:
You will get delRsaKey(2) when the delete operation is in
progress. Otherwise, you will get noDel(1).
Context
- MIB
- ECS4120-MIB
- OID
.1.3.6.1.4.1.259.10.1.45.1.17.6.28- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sshMgt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4120-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4120-MIB::sshHostKeyDelAction.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4120-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4120-MIB::sshHostKeyDelAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noDel |
2 | delRsaKey |