All MIBs › DMswitch-MIB › sshHostKeyDelAction
sshHostKeyDelAction
Module: DMswitch-MIB
OID (symbolic): DMswitch-MIB::sshHostKeyDelAction
OID (numeric): 1.3.6.1.4.1.3709.3.5.201.1.17.2.9
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: To delete the host key.
For the set behavior: Set it to delRsaKey(2) to delete the RSA host key, to delDsaKey(3) to delete the DSA host key, or to delBothKeys(4) to delete both RSA and DSA host key.
For the get behavior: You will get delRsaKey(2), delDsaKey(3) or delBothKeys(4) when the delete operation is in progress. Otherwise, you will get noDel(1).
What is sshHostKeyDelAction?
Triggers or reports SSH host key deletion: writing delRsaKey(2), delDsaKey(3), or delBothKeys(4) starts deleting that key type, while noDel(1) means no deletion in progress or complete. An admin uses delBothKeys(4) to wipe existing host keys before regenerating fresh ones via sshHostKeyGenAction, e.g. during a security remediation.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.9 snmpwalk -v2c -c public <target> DMswitch-MIB::sshHostKeyDelAction
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.9.1 snmpget -v2c -c public <target> DMswitch-MIB::sshHostKeyDelAction.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.9.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> sshHostKeyDelAction.1
Start monitoring Datacom DmSwitch series with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DMswitch-MIB::sshHostKeyDelAction OID value, configure state conditions and alerts, and monitor any Datacom DmSwitch series from a single console.
OID Breakdown
Upper-level ancestors (9 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.3709 | datacom | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3 | datacomProductsMIBs | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3.5 | datacomAccessDevicesMIBs | DATACOM-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3709.3.5.201 | dmSwitchMIB | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1 | dmSwitchMIBObjects | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17 | securityMgt | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17.2 | sshMgt | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17.2.9 | sshHostKeyDelAction | DMswitch-MIB |