hwXQoSGlobalWredClassSetDefault
HUAWEI-XQoS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.4.1.5.2.1.5
Object
column r/w
Integer32
This OID is used for setting the WRED class info to default. When you want to set the value to default, set this OID to 1.
Context
- MIB
- HUAWEI-XQoS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.4.1.5.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXQoSGlobalWredClassCfgEntry
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-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSGlobalWredClassSetDefault'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSGlobalWredClassSetDefault.<hwXQoSGlobalWredClassIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XQoS-MIB::hwXQoSGlobalWredClassSetDefault'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1