l2tpSessionState
BIANCA-BRICK-L2TP-MIB ·
.1.3.6.1.4.1.272.4.23.8.40.10.130
Object
column mandatory
r/w
Enumeration
The current state of the session as specified in RFC2661. Selecting shutdown(7) value results in session hangup. Any other value is ignored.
Context
- MIB
- BIANCA-BRICK-L2TP-MIB
- OID
.1.3.6.1.4.1.272.4.23.8.40.10.130- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- l2tpSessionEntry
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 'BIANCA-BRICK-L2TP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-L2TP-MIB::l2tpSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-L2TP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-L2TP-MIB::l2tpSessionState.<l2tpSessionLocalSessionId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-L2TP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-L2TP-MIB::l2tpSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | waittunnel |
3 | waitcsanswer |
4 | waitreply |
5 | waitconnect |
6 | established |
7 | shutdown |