DMswitch-MIB :: sshHostKeyGenAction

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DMswitch-MIB › sshHostKeyGenAction

sshHostKeyGenAction

Module: DMswitch-MIB

OID (symbolic): DMswitch-MIB::sshHostKeyGenAction

OID (numeric): 1.3.6.1.4.1.3709.3.5.201.1.17.2.8

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This variable is for host key generating.

For the set behavior: Set it to genRsaKey(2) to generate the RSA host key, and to genDsaKey(3) to generate the DSA host key, if genBothKeys(4) is set, both RSA and DSA host key are generated.

For the get behavior: You will get genRsaKey(2), genDsaKey(3) or genBothKeys(4) when the key gen action is in progress. otherwise, you will get noGen(1).

What is sshHostKeyGenAction?

Triggers or reports SSH host key generation: writing genRsaKey(2), genDsaKey(3), or genBothKeys(4) starts generating that key type, while noGen(1) means no generation is in progress; reading back genRsaKey/genDsaKey/genBothKeys while a job runs shows it's still working. An admin writes genBothKeys(4) to regenerate both host keys, e.g. after a suspected key compromise, then polls this object until it returns to noGen(1) to confirm completion.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8
snmpwalk -v2c -c public <target> DMswitch-MIB::sshHostKeyGenAction

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8.1
snmpget -v2c -c public <target> DMswitch-MIB::sshHostKeyGenAction.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8.1 i <value>

Start monitoring Datacom DmSwitch series with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DMswitch-MIB::sshHostKeyGenAction 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.3709datacomDATACOM-SMI
1.3.6.1.4.1.3709.3datacomProductsMIBsDATACOM-SMI
1.3.6.1.4.1.3709.3.5datacomAccessDevicesMIBsDATACOM-SMI
Numeric OIDNameModule
1.3.6.1.4.1.3709.3.5.201dmSwitchMIBDMswitch-MIB
1.3.6.1.4.1.3709.3.5.201.1dmSwitchMIBObjectsDMswitch-MIB
1.3.6.1.4.1.3709.3.5.201.1.17securityMgtDMswitch-MIB
1.3.6.1.4.1.3709.3.5.201.1.17.2sshMgtDMswitch-MIB
1.3.6.1.4.1.3709.3.5.201.1.17.2.8sshHostKeyGenActionDMswitch-MIB