sshNewCfgHKeyGen
IBM-GbTOR-G8052-MIB ·
.1.3.6.1.4.1.26543.2.7.7.1.1.22.5
Object
scalar r/w
Enumeration
This is an action object to generate the RSA host key. other(2) is returned always when read. The following values are writable: generate(1).. Generate the RSA host key.
Context
- MIB
- IBM-GbTOR-G8052-MIB
- OID
.1.3.6.1.4.1.26543.2.7.7.1.1.22.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agSSHConfig
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 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8052-MIB::sshNewCfgHKeyGen.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8052-MIB::sshNewCfgHKeyGen'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | generate |
2 | other |