optixL2SimpleLptAction
OPTIX-L2-LPT-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.20.1.10.1.3
Object
column r/w
Enumeration
This object indicates the action of the Simple LPT.
Context
- MIB
- OPTIX-L2-LPT-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.20.1.10.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixL2SimpleLptEntry
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 'OPTIX-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2-LPT-MIB::optixL2SimpleLptAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2-LPT-MIB::optixL2SimpleLptAction.<optixLogBoardId>.<optixLogSubCardId>.<optixL2LptPortPid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-L2-LPT-MIB::optixL2SimpleLptAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | add |
2 | delete |
255 | noaction |