tmnxL2tpPeerDrain
TIMETRA-L2TP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.60.1.4.2.1.1.1
Object
Setting this object to 'drain (0)' triggers an attempt to drain all
tunnels between this system and a particular L2TP peer.
Setting it to 'stopDrain (1)' stops the draining.
Reading this object returns the value 'notApplicable'.
Context
- MIB
- TIMETRA-L2TP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.60.1.4.2.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tmnxL2tpPeerDrainEntry
- 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 'TIMETRA-L2TP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-L2TP-MIB::tmnxL2tpPeerDrain'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-L2TP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-L2TP-MIB::tmnxL2tpPeerDrain.<vRtrID>.<tmnxL2tpTuStatusTransportType>.<tmnxL2tpTuStatusPeerAddrType>.<tmnxL2tpTuStatusPeerAddr>.<tmnxL2tpTuStatusRemoteUdpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-L2TP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-L2TP-MIB::tmnxL2tpPeerDrain'
Syntax
- Source
- TmnxL2tpActionTypeDrain
- Base type
Enumeration
Values & Constraints
Type Values
0 | drain |
1 | stopDrain |
2 | notApplicable |
Conformance
Member of