l2tpAdminState
L2TP-MIB ·
.1.3.6.1.2.1.10.95.1.1.1.1
Object
scalar r/w
Enumeration
This object defines the administrative state of the L2TP protocol. Setting this object to 'disabled' causes all tunnels to be immediately disconnected and no further tunnels to be either initiated or accepted. The value of this object must be maintained in non-volatile memory.
Context
- MIB
- L2TP-MIB
- OID
.1.3.6.1.2.1.10.95.1.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- l2tpConfig
- Groups
- 1
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 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2TP-MIB::l2tpAdminState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'L2TP-MIB::l2tpAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
Conformance
Member of
Compliance refinements
l2tpMIBReadOnlyCompliance
readonly
Write access is not required.