sshNewCfgHKeyGen
IBM-GbTOR-G8264CS-MIB ·
.1.3.6.1.4.1.20301.2.7.15.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-G8264CS-MIB
- OID
.1.3.6.1.4.1.20301.2.7.15.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-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264CS-MIB::sshNewCfgHKeyGen.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8264CS-MIB::sshNewCfgHKeyGen'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.