ethernet2InterfaceEnabled
LENOVO-XCC-MIB ·
.1.3.6.1.4.1.19046.11.1.3.4.1.2.2
Object
scalar mandatory
Enumeration
Disable or enable the interface.
Context
- MIB
- LENOVO-XCC-MIB
- OID
.1.3.6.1.4.1.19046.11.1.3.4.1.2.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- ethernet2Interface
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 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-XCC-MIB::ethernet2InterfaceEnabled.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-XCC-MIB::ethernet2InterfaceEnabled'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | interfaceDisabled |
1 | interfaceEnabled |