hwRedirectMode

HUAWEI-LswQos-MIB · .1.3.6.1.4.1.2011.2.23.1.16.2.6.1.23

Object

column r/w Enumeration
The node denotes the strategy adopted by the PBR.
If strict-priority is configured, the most preferential IP address
is use as redirected nexthop.
If the mode is load-balance, any of the three IP addresses will be
the nexthop and the traffic distributes in the three direction.
Default value is strict-priority.
When L3plus function is not supported, the default value would be set.
It is optional.

Context

MIB
HUAWEI-LswQos-MIB
OID
.1.3.6.1.4.1.2011.2.23.1.16.2.6.1.23
Type
column
Access
readwrite
Status
current
Parent
hwRedirectEntry

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-LswQos-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswQos-MIB::hwRedirectMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswQos-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswQos-MIB::hwRedirectMode.<hwRedirectAclIndex>.<hwRedirectIfIndex>.<hwRedirectVlanID>.<hwRedirectDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswQos-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswQos-MIB::hwRedirectMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1strict-priority
2load-balance