l2tpDrainTunnels
L2TP-MIB ·
.1.3.6.1.2.1.10.95.1.1.1.2
Object
Setting this object to 'true' will prevent any new tunnels and/or sessions to be either initiated or accepted but does NOT disconnect any active tunnels/sessions. Setting this object to true(1) causes all domains and their respective tunnels to transition to the draining state. Note that when this occurs the 'xxxDraining' status objects of the domains and their tunnels should reflect that they are 'draining'. Setting this object has no affect on the domains or their tunnels 'xxxDrainTunnels' configuration objects. To cancel a drain this object should be set to false(2). The object l2tpDrainingTunnels reflects the current L2TP draining state. 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.2- 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::l2tpDrainTunnels.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::l2tpDrainTunnels'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of
Compliance refinements
l2tpMIBReadOnlyCompliance
readonly
Write access is not required.