l2tpSetTraps
FutureL2tp-MIB ·
.1.3.6.1.4.1.29601.2.108.1.1.17
Object
scalar r/w
Integer32
This object is used to enable or disable ELMI traps. Currently the following are defined 0 - Traps are not enabled. 1 - Protocol Errors occurred. 2 - Memory failure occurred 3 - All the above Traps
Context
- MIB
- FutureL2tp-MIB
- OID
.1.3.6.1.4.1.29601.2.108.1.1.17- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- l2tpGlobalInfo
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 'FutureL2tp-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FutureL2tp-MIB::l2tpSetTraps.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FutureL2tp-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FutureL2tp-MIB::l2tpSetTraps'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-3