swL2PTState
L2PROTOCOL-TUNNEL-MIB ·
.1.3.6.1.4.1.171.12.93.1.1
Object
scalar r/w
Enumeration
This object indicates the global state of Layer 2 protocol tunneling.
Context
- MIB
- L2PROTOCOL-TUNNEL-MIB
- OID
.1.3.6.1.4.1.171.12.93.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2PTMIBObjects
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 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2PROTOCOL-TUNNEL-MIB::swL2PTState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'L2PROTOCOL-TUNNEL-MIB::swL2PTState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |