hh3cSSHSessionState
HH3C-SSH-MIB ·
.1.3.6.1.4.1.25506.2.22.1.1.3.1.8
Object
column Enumeration
The status of SSH session. init : This session is in initial status. verExchange : This session is in version exchanging. keysExchange : This session is in keys exchanging. authRequest : This session is in authentication requesting. serviceRequest : This session is in service requesting. established : This session has been established. disconnected : This session has been disconnected.
Context
- MIB
- HH3C-SSH-MIB
- OID
.1.3.6.1.4.1.25506.2.22.1.1.3.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cSSHSessionInfoEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HH3C-SSH-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SSH-MIB::hh3cSSHSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-SSH-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SSH-MIB::hh3cSSHSessionState.<hh3cSSHSessionID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SSH-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SSH-MIB::hh3cSSHSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | init |
2 | verExchange |
3 | keysExchange |
4 | authRequest |
5 | serviceRequest |
6 | established |
7 | disconnect |