h3cCBQoSMatchRuleStringValue

H3C-CBQOS2-MIB · .1.3.6.1.4.1.2011.10.2.65.2.1.1.3.1.4

Object

column r/w OctetString
Value of Match Rule.
IPv4 ACL: SIZE (1..63) ACL name
MAC ACL: SIZE (1..63) MAC ACL name
User ACL: SIZE (1..63) User ACL name
IPv6 ACL: SIZE (1..63) IPv6 ACL name
SourceMAC: SIZE (12) HHHHHHHHHHHH
  for example: 010102020303 means the match rule is
               'if-match source-mac 0101-0202-0303'
DestinationMAC: SIZE (12) HHHHHHHHHHHH
  for example: 010102020303 means the match rule is
               'if-match destination-mac 0101-0202-0303'
Classifier: SIZE (1..31) classifier name
InboundInterface: SIZE (1..47) interface description
TopMostVlanID, VlanID: SIZE(1..109), up to 10 values can be input;
  for example: 1##5#11#111##114#1111 means the match rule is
               'if-match vlanid 1 to 5 11 111 to 114 1111'
SourceIp: SIZE (12) HHHHHHHHHHHH
  for example: 010102020303 means the match rule is
               'if-match source-ip mac-address 0101-0202-0303'
MplsLabel: SIZE (1..63), up to 8 values can be input;
  for example: 1#11#111#1111 means the match rule is
               'if-match mpls-label 1 11 111 1111';
               1##1111 means the match rule is
               'if-match mpls-label 1 to 1111';
SecondMplsLabel: SIZE (1..63), up to 8 values can be input;
  for example: 1#11#111#1111 means the match rule is
               'if-match mpls-label 1 11 111 1111';
               1##1111 means the match rule is
               'if-match mpls-label 1 to 1111';
VxlanID: SIZE(1..8) Vxlan ID or any
  for example: 20 means the match rule is
               'if-match vxlan 20';
               any means the match rule is
               'if-match vxlan any';
other types: Set is not permitted.  Zero-length string will
             be returned when getting.

Context

MIB
H3C-CBQOS2-MIB
OID
.1.3.6.1.4.1.2011.10.2.65.2.1.1.3.1.4
Type
column
Access
readwrite
Status
current
Parent
h3cCBQoSMatchRuleCfgInfoEntry

Walk 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 'H3C-CBQOS2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-CBQOS2-MIB::h3cCBQoSMatchRuleStringValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-CBQOS2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-CBQOS2-MIB::h3cCBQoSMatchRuleStringValue.<h3cCBQoSClassifierIndex>.<h3cCBQoSMatchRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-CBQOS2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-CBQOS2-MIB::h3cCBQoSMatchRuleStringValue'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-255