hwCBQoSMatchRuleStringValue
HUAWEI-CBQOS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.4
Object
column r/w
OctetString
This object indicates the rule contents. The value range and the default value of the object vary with hwCBQoSMatchRuleType. When the supported types are Source-MAC(9) and Destination-MAC(10), the value of this object can be a string of six ASCII characters, which represents a MAC address. For example, abcdef indicates the MAC address 00-e0-fc-12-34-56. When the supported types are ipv6-dst-ip(21) and ipv6-src-ip(22), the value of this object is a string of 16 ASCII characters, which represents an IPv6 address. For example, 1111111111111111 indicates an IPv6 address 3131-3131-3131-3131-3131-3131-3131-3131. This object has no default value.
Context
- MIB
- HUAWEI-CBQOS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwCBQoSMatchRuleCfgInfoEntry
- Groups
- 1
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-CBQOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CBQOS-MIB::hwCBQoSMatchRuleStringValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-CBQOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CBQOS-MIB::hwCBQoSMatchRuleStringValue.<hwCBQoSClassifierIndex>.<hwCBQoSMatchRuleIndex>.<hwCBQoSMatchVlanBeginId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CBQOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CBQOS-MIB::hwCBQoSMatchRuleStringValue'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of