l2tpTrcFlag
FutureL2tp-MIB ·
.1.3.6.1.4.1.29601.2.108.1.1.15
Object
This object is used to enable trace statements in
L2TP module.
A four byte integer is used for enabling the trace level.
Each bit in the four byte integer represents a particular
trace level.
The mapping between the bit positions & the trace messages are
as follows:
0x00000000 -- No traces.
0x00000001 -- Init-Shut related traces.
0x00000002 -- Data-path related traces.
0x00000004 -- Buffer related traces.
0x00000008 -- Event related traces.
0x00000010 -- SNMP related traces.
0x00000020 -- Enables function entry exit traces.
0x00000040 -- Enables error/failure related traces.
0x00000080 -- Enables packet dump related traces.
0x00000100 -- Management related trace.
0x00000200 -- Enables Pseudowire related traces.
0x00000400 -- Enables Session related traces.
0x00000800 -- Enables XConnect related traces.
0x00001FFF -- All Traces.
Similarly, Trace messages can also be added with respect to levels namely
Critical, Alert, Debug and Info.
Critical Level - Init-Shut, data-path and Buffer related traces
Alert Level - Event and Snmp related traces.
Debug Level - Function entry exit, Error/failure,Packet Dump and Management related traces.
Info Level - pseudowire, Session and XConnect related traces.
The mapping between the bit positions & the trace Levels are
as follows:
0x00000003 -- Critical Level.
0x00000012 -- Alert Level.
0x00000150 -- Debug Level.
0x00000700 -- Info Level
Context
- MIB
- FutureL2tp-MIB
- OID
.1.3.6.1.4.1.29601.2.108.1.1.15- 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::l2tpTrcFlag.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::l2tpTrcFlag'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647