hwCBQoSMatchRuleType
HUAWEI-CBQOS-MIB ·
h3c variant
·
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.3
Object
Type of Match Rule. typeAny(1) typeAcl(2), typeRtpPort(3), typeProtocol(4), typeIpPrec(5), typeDscp(6), typeVlan8021p(7), typeMplsExp(8), typeSourceMac(9), typeDestinationMac(10), typeClassifier(11), typeInboundInterface(12), typeMacGroup(13), typeMatchDe(16), /* the match rule is FR DE */ typeMatchClp(17), /* the match rule is ATM CLP */ typeOutboundInterface(25) Software QoS supports any type except typeMacGroup. Hardware QoS supports typeAcl,typeDscp,typeMacGroup.
Context
- MIB
- HUAWEI-CBQOS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.3- 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::hwCBQoSMatchRuleType'
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::hwCBQoSMatchRuleType.<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::hwCBQoSMatchRuleType'
Syntax
- Source
- MatchRuleType
- Base type
Enumeration
Values & Constraints
Type Values
1 | typeAny |
2 | typeAcl |
3 | typeRtpPort |
4 | typeProtocol |
5 | typeIpPrec |
6 | typeDscp |
7 | typeVlan8021p |
8 | typeMplsExp |
9 | typeSourceMac |
10 | typeDestinationMac |
11 | typeClassifier |
12 | typeInboundInterface |
13 | typeMacGroup |
16 | typeMatchDe |
17 | typeMatchClp |
25 | typeOutboundInterface |