pduNetworkServiceSshPort
SPS2v1-MIB ·
.1.3.6.1.4.1.42610.1.4.1.1.4.5.1.2
Object
scalar mandatory
r/w
Integer32
The Port Number of SSH Server Service.
Context
- MIB
- SPS2v1-MIB
- OID
.1.3.6.1.4.1.42610.1.4.1.1.4.5.1.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- pduNetworkServiceSsh
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 'SPS2v1-MIB' -M '/opt/observium/mibs/powertek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SPS2v1-MIB::pduNetworkServiceSshPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SPS2v1-MIB' -M '/opt/observium/mibs/powertek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SPS2v1-MIB::pduNetworkServiceSshPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-31