hwCBQoSMatchMacMask
HUAWEI-CBQOS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.8
Object
column r/w
OctetString
Value of Match Rule. Source-MAC(9): SIZE (0..6) HHHHHH for example: ffff00 means the match rule is 'if-match source-mac XX-XX-XX ff-ff-00' Destination-MAC(10): SIZE (0..6) HHHHHH for example: ffff00 means the match rule is 'if-match destination-mac XX-XX-XX ff-ff-00' default:0XFFFFFF
Context
- MIB
- HUAWEI-CBQOS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.8- 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::hwCBQoSMatchMacMask'
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::hwCBQoSMatchMacMask.<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::hwCBQoSMatchMacMask'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-6
Conformance
Member of