All MIBs › CISCO-SECURE-SHELL-MIB › cssSessionState
cssSessionState
Module: CISCO-SECURE-SHELL-MIB
OID (symbolic): CISCO-SECURE-SHELL-MIB::cssSessionState
OID (numeric): 1.3.6.1.4.1.9.9.339.1.2.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The object indicates the current state of Secure Shell Session.
The state sshSessionVersionOk(1) indicates that server and client versions of SSH are exchanged and are compatible.
The state sshSessionKeysExchanged(2) indicates that key exchange has been completed.
The state sshSessionAuthenticated(3) indicates that the client has been successfully authenticated.
The state sshSessionOpen(4) indicates that the session has been successfully opened.
The state sshSessionDisconnecting(5) indicates that the session disconnection has begun.
The state sshSessionDisconnected(6) indicates that the session has been disconnected.
The state sshSessionClosed(7) indicates that the session has closed.
What is cssSessionState?
Reports the current state of an SSH session, such as version negotiation or key exchange completion.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.339.1.2.1.1.3 snmpwalk -v2c -c public <target> CISCO-SECURE-SHELL-MIB::cssSessionState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.339.1.2.1.1.3.1 snmpget -v2c -c public <target> CISCO-SECURE-SHELL-MIB::cssSessionState.1
Start monitoring Cisco routers and switches (IOS/IOS-XE) with SSH server with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-SECURE-SHELL-MIB::cssSessionState OID value, configure state conditions and alerts, and monitor any Cisco routers and switches (IOS/IOS-XE) with SSH server from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.339 | ciscoSecureShellMIB | CISCO-SECURE-SHELL-MIB |
| 1.3.6.1.4.1.9.9.339.1 | ciscoSecureShellMIBObjects | CISCO-SECURE-SHELL-MIB |
| 1.3.6.1.4.1.9.9.339.1.2 | cssSessionInfo | CISCO-SECURE-SHELL-MIB |
| 1.3.6.1.4.1.9.9.339.1.2.1 | cssSessionTable | CISCO-SECURE-SHELL-MIB |
| 1.3.6.1.4.1.9.9.339.1.2.1.1 | cssSessionEntry | CISCO-SECURE-SHELL-MIB |
| 1.3.6.1.4.1.9.9.339.1.2.1.1.3 | cssSessionState | CISCO-SECURE-SHELL-MIB |