hwCBQoSMatchRuleStringValue
HUAWEI-CBQOS-MIB ·
h3c variant
·
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.4
Object
column r/w
OctetString
Value of Match Rule.
SourceMAC(9): SIZE (12) HHHHHHHHHHHH for example: 010102020303 means
the match rule is 'if-match source-mac 0101-0202-0303'
DestinationMAC(10): SIZE (12) HHHHHHHHHHHH for example: 010102020303 means
the match rule is 'if-match destination-mac 0101-0202-0303'
Classifier(11): SIZE (1..31)
InboundInterface(12): SIZE (1..47)
typeOutboundInterface(25): SIZE (1..47)
other type: Set is not permitted. Zero-length String will be
returned when getting.
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
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/h3c:/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/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CBQOS-MIB::hwCBQoSMatchRuleStringValue.<hwCBQoSClassifierIndex>.<hwCBQoSMatchRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CBQOS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CBQOS-MIB::hwCBQoSMatchRuleStringValue'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255