sshServerStatus
Hirschmann-LION-24TP-MIB ·
.1.3.6.1.4.1.248.13.7.4.1.17.6.1
Object
The status of Secure Shell Server. Set this value to enabled(1) to enable SSH server, set this value to disabled(2) to disable the SSH server.
Context
- MIB
- Hirschmann-LION-24TP-MIB
- OID
.1.3.6.1.4.1.248.13.7.4.1.17.6.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sshMgt
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 'Hirschmann-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Hirschmann-LION-24TP-MIB::sshServerStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Hirschmann-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Hirschmann-LION-24TP-MIB::sshServerStatus'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |