sshPort
PROXIM-MIB ·
.1.3.6.1.4.1.841.1.1.2.8.1
Object
This parameter is used to configure the port on which SSH is accessed.
Context
- MIB
- PROXIM-MIB
- OID
.1.3.6.1.4.1.841.1.1.2.8.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ssh
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 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROXIM-MIB::sshPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PROXIM-MIB::sshPort'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Enumerated Values
1 | yes |
2 | no |
Type Constraints
range: 0..4294967295