All MIBs › SSH-MIB › swSSHRegenerateHostKey
swSSHRegenerateHostKey
Module: SSH-MIB
OID (symbolic): SSH-MIB::swSSHRegenerateHostKey
OID (numeric): 1.3.6.1.4.1.2272.1.201.1.5.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: As the object is set to active means to regenerate hostkey in SSH server. If set to normal, do nothing.
What is swSSHRegenerateHostKey?
Setting this to active(2) causes the switch to regenerate its SSH host key immediately; setting it to normal(1) has no effect.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7 snmpwalk -v2c -c public <target> SSH-MIB::swSSHRegenerateHostKey
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7.1 snmpget -v2c -c public <target> SSH-MIB::swSSHRegenerateHostKey.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7.1 i <value>
Start monitoring FastPath-family managed switch (SSH server/cipher configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SSH-MIB::swSSHRegenerateHostKey OID value, configure state conditions and alerts, and monitor any FastPath-family managed switch (SSH server/cipher configuration) from a single console.
OID Breakdown
Upper-level ancestors (10 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.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.201 | cobra | SWPRIMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1 | privateMgmt | SWPRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2272.1.201.1.5 | swSSHMIB | SSH-MIB |
| 1.3.6.1.4.1.2272.1.201.1.5.1 | swSSHMgmt | SSH-MIB |
| 1.3.6.1.4.1.2272.1.201.1.5.1.7 | swSSHRegenerateHostKey | SSH-MIB |