hh3cL2tpAdminState
HH3C-L2TP-MIB ·
.1.3.6.1.4.1.25506.2.139.1.1.2.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.
Context
- MIB
- HH3C-L2TP-MIB
- OID
.1.3.6.1.4.1.25506.2.139.1.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hh3cL2tpConfig
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 'HH3C-L2TP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-L2TP-MIB::hh3cL2tpAdminState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-L2TP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-L2TP-MIB::hh3cL2tpAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |