hwLocalCpuPacketFlag

HUAWEI-MIRROR-MIB · .1.3.6.1.4.1.2011.5.162.1.1.2.1.3

Object

column r/w SNMPv2-TCTruthValue
Indicates whether the packets sent to the CPU need to be mirrored. 
True: CPU packets are forwarded; 
False: CPU packets are not forwarded. 
You can configure this object only when the mirroring direction is 1 or 3.
Default value: false.

Context

MIB
HUAWEI-MIRROR-MIB
OID
.1.3.6.1.4.1.2011.5.162.1.1.2.1.3
Type
column
Access
readwrite
Status
current
Parent
hwLocalPortMirrorEntry
Groups
1

Walk 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 'HUAWEI-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MIRROR-MIB::hwLocalCpuPacketFlag'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MIRROR-MIB::hwLocalCpuPacketFlag.<hwLocalMirrorPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MIRROR-MIB::hwLocalCpuPacketFlag'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance