optixCL2HNum
OPTIX-PKT-PORT-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.52.1.13.1.3
Object
column Unsigned32
This parameter indicates the number of captured packets.
Context
- MIB
- OPTIX-PKT-PORT-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.52.1.13.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- optixCL2HEntry
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-PKT-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PORT-MIB::optixCL2HNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PORT-MIB::optixCL2HNum.<optixLogBoardId>.<optixLogSubCardId>.<optixEthPortId>.<optixCL2HMode>.<optixCL2HNum>.<optixCL2HLength>.<optixCL2HDirection>.<optixCL2HAgeTime>.<optixCL2HConditionMask>.<optixCL2HSourceMAC>.<optixCL2HSourceMACWC>.<optixCL2HDestinationMAC>.<optixCL2HDestinationMACWC>.<optixCL2HOutVlan>.<optixCL2HOutVlanWC>.<optixCL2HInnerVlan>.<optixCL2HInnerVlanWC>.<optixCL2HEthernetType>.<optixCL2HEthernetTypeWC>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-PORT-MIB::optixCL2HNum'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-1000