hwRedirectToCpu
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.5.1.10
Object
Indicates whether to redirect packets to the CPU. After the packets are redirected to the CPU, they cannot be forwarded. Options: 1. true(1) -indicates to redirect packets to the CPU 2. false(2) -indicates to redirect packets to a specified port If you want to redirect packets to a destination port, you can set hwRedirectToIfIndex rather than hwRedirectToCpu. If hwRedirectCpu is set to true(1) and hwRedirectToIfIndex is entered, the packets will be redirected to the destination port specified in hwRedirectToIfIndex.
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.5.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwRedirectEntry
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 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwRedirectToCpu'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwRedirectToCpu.<hwRedirectAclIndex>.<hwRedirectIfIndex>.<hwRedirectDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwRedirectToCpu'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |