ostSshGlobalCfgTcpPortNumber
OMNITRON-SSH-MIB ·
.1.3.6.1.4.1.7342.10.1.2.1.9
Object
scalar r/w
Unsigned32
This object specifies the TCP port number to be used for the SSH protocol.
Context
- MIB
- OMNITRON-SSH-MIB
- OID
.1.3.6.1.4.1.7342.10.1.2.1.9- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ostSshGlobalCfgTable
- Groups
- 1
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 'OMNITRON-SSH-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-SSH-MIB::ostSshGlobalCfgTcpPortNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-SSH-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-SSH-MIB::ostSshGlobalCfgTcpPortNumber'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-65535
Conformance
Member of