l2tpDomainConfigDrainTunnels
L2TP-MIB ·
.1.3.6.1.2.1.10.95.1.2.1.3
Object
Setting this object to 'true' will prevent any new
tunnels and/or sessions from being either initiated
or accepted but does NOT disconnect any active
tunnels/sessions for this tunnel domain. Setting
this object to true(1) causes all tunnels within
this domain to transition to the draining state.
Note that when this occurs the
l2tpTunnelStatsDrainingTunnel status objects of
all of this domain's tunnels should reflect that
they are 'draining'. Setting this object has no
effect on this domain's associated tunnels
l2tpTunnelConfigDrainTunnel configuration objects.
To cancel a drain this object should be set to
false(2). Setting this object to false(2) when
the L2TP object l2tpDrainTunnels is true(1) has
no affect, all domains and their tunnels will
continue to drain.
Context
- MIB
- L2TP-MIB
- OID
.1.3.6.1.2.1.10.95.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- l2tpDomainConfigEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2TP-MIB::l2tpDomainConfigDrainTunnels'
More examples
Read one indexed 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::l2tpDomainConfigDrainTunnels.<l2tpDomainConfigId>'
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::l2tpDomainConfigDrainTunnels'
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.