No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

MIB Reference

AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R007

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
hwCBQoSMatchRuleCfgInfoTable

hwCBQoSMatchRuleCfgInfoTable

This table configures rules in a traffic classifier. Traffic is classified by these rules, and differentiated services are provided for the traffic.

The indexes of this table are hwCBQoSClassifierIndex, hwCBQoSMatchRuleIndex and hwCBQoSMatchVlanBeginId.

OID

Object Name

Syntax

Description

Max Access

Implemented Specifications

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.1

hwCBQoSMatchRuleIndex

Integer32

This object indicates the rule index. The value ranges from 0 to 1023.

Default value: none.

Read-only

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.2

hwCBQoSMatchRuleIfNot

Integer

This object indicates whether the rule is matched:

  • 1: match

The default value is 1.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.3

hwCBQoSMatchRuleType

Integer

This object indicates the rule type:

  • 1: any
  • 2: ipv4-acl
  • 3: rtp-port
  • 4: protocol
  • 5: ip-prec
  • 6: dscp
  • 7: vlan-8021p
  • 8: mpls-exp (not supported by the AR120&AR150&AR160&AR200)
  • 9: source-mac
  • 10: destination-mac
  • 12: inbound-interface
  • 14: ipv6-acl
  • 16: fr-de
  • 17: atm-pvc
  • 18: ipv6-dscp
  • 24: vlan-id
  • 26: l2-protocol
  • 28: tcpFlag
  • 29: cvlan-id
  • 32: cvlan-8021p
  • 34: dlci
  • 35: app-protocol
  • 36: protocol-group

Default value: none.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.4

hwCBQoSMatchRuleStringValue

Octet String

This object indicates the rule content, which varies with the rule type (hwCBQoSMatchRuleType):

  • Source MAC address and destination MAC address: The 12-digit hexadecimal number corresponds to 6 characters, in HHHHHH format. If the value of one or more Hs is 20, the MAC address is represented by six characters. For example, 102310101010 corresponds to MAC address 1023-1010-1010. If the value of H is greater than 20, the MAC address is represented by the ASCII value corresponding to the six characters. For example, abcdef corresponds to MAC address 6162-6364-6566.

Default value: none.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.5

hwCBQoSMatchRuleIntValue1

Unsigned32

This object indicates the rule content, which varies with the rule type (hwCBQoSMatchRuleType):

  • If the rule based on ACLs is used, the value ranges from 2000 to 4999.
  • If the rule based on the protocol type is used, the value is 1. If the rule based on the IPv6 protocol type is used, the value is 7.
  • If the rule based on the TCP flag is used, the value of each flag bit is as follows:
    • fin: 1
    • syn: 2
    • rst: 4
    • psh: 8
    • ack: 16
    • urg: 32

    If multiple flag bits are configured, the value is the sum of the flag bits.

  • If the rule based on the 802.1p priority, 802.1p priority in inner VLAN tags in QinQ packets,, MPLS EXP priority (not supported by the AR150&160&200&510), or IP precedence is used, the value ranges from 1 to 255.
    • To match 802.1p priority, 802.1p priority in inner VLAN tags in QinQ packets,, MPLS EXP priority (not supported by the AR150&160&200&510), or IP precedence a, the value is 2a.

    • To match 802.1p priority, 802.1p priority in inner VLAN tags in QinQ packets,, MPLS EXP priority (not supported by the AR150&160&200&510), or IP precedence b, c, d…, the value is 2b+2c+2d+….

  • If the rule based on the PVC is used, the value ranges from 0 to 255.
  • If the rule based on 802.1p priorities is used, the value ranges from 0 to 7.
  • If the rule based on DLCI values is used, the value ranges from 16 to 1022.
  • If the rule based on Layer 2 protocols is used, the value ranges from 0x0 to 0xFFFF. The protocol value is as follows:
    • ip: 0x0800
    • arp: 0x0806
    • mpls: 0x8847
    • rarp: 0x8035
  • For the DSCP, the value ranges from 0 to 4278190080 and depends on whether packets with DSCP values 32 to 63 are matched.
    • To match DSCP a, the value is 2a-32.
    • To match DSCP b, c, d…, the value is 2b-32+2c-32+2d-32+….

Default value: none.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.6

hwCBQoSMatchRuleIntValue2

Unsigned32

This object indicates the rule content, which varies with the rule type (hwCBQoSMatchRuleType).

  • If the rule based on the PVC is used, the value is 0, 1, or 2, or ranges from 5 to 255..
  • If the rule based on the DLCI value is used, the value ranges from 16 to 1022.
  • For the DSCP, the value ranges from 0 to 4278190080 and depends on whether packets with DSCP values 0 to 31 are matched.
    • To match DSCP a, the value is 2a.
    • To match DSCP b, c, d…, the value is 2b+2c+2d+….

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.7

hwCBQoSMatchRuleRowStatus

RowStatus

This object indicates the row status:

  • 1: active
  • 4: createandgo
  • 6: destroy

Default value: none.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.8

hwCBQoSMatchMacMask

OCTET STRING

MAC address mask. The 12-digit hexadecimal number corresponds to 6 characters, in HHHHHH format. If the value of one or more Hs is 20, the MAC address mask is represented by six characters. For example, 102310101010 corresponds to MAC address mask 1023-1010-1010. If the value of H is greater than 20, the MAC address mask is represented by the ASCII value corresponding to the six characters. For example, abcdef corresponds to MAC address mask 6162-6364-6566.

Read-create

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.9

hwCBQoSMatchVlanBeginId

Unsigned32

This object indicates the start VLAN ID when the rule based on VLAN IDs is used.

Not-accessible

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.32.1.1.1.3.1.10

hwCBQoSMatchVlanEndId

Unsigned32

This object indicates the end VLAN ID when the rule based on VLAN IDs is used.

Read-create

This object is implemented as defined in the corresponding MIB files.

Creation Restriction

You can create entries in this table only after hwCBQoSClassifierCfgInfoTable is created.

hwCBQoSMatchRuleIndex must be the same as the value of hwCBQoSClassifierRuleCount corresponding to hwCBQoSClassifierIndex in hwCBQoSClassifierCfgInfoTable.

If the matching rule is not based on the VLAN ID or CVLAN ID, the value of hwCBQoSMatchVlanBeginId ranges from 1 to 4094.

You can create entries in this table only when the row status is CreateAndGo, and values of hwCBQoSClassifierIndex, hwCBQoSMatchRuleIndex, hwCBQoSMatchRuleType, and hwCBQoSMatchVlanBeginId are set.

  • hwCBQoSMatchRuleIndex must be configured, and its value must be the same as hwCBQoSClassifierRuleCount in hwCBQoSClassifierCfgInfoTable.

  • The hwCBQoSMatchRuleIfNot object is optional. If it is not set, the default value is match.

  • hwCBQoSMatchRuleType must be configured:

  • If the rule is source-mac and destination-mac, hwCBQoSMatchRuleStringValue must be configured, but hwCBQoSMatchRuleIntValue1 or hwCBQoSMatchRuleIntValue2 cannot be configured; otherwise, an error message is displayed.

  • If the rule based on acl, vlan-8021p, cvlan-8021p, cvlan-id, mpls-exp (not supported by the AR120&AR150&AR160&AR200), or l2-protocol is used, hwCBQoSMatchRuleIntValue1 must be configured, but hwCBQoSMatchRuleStringValue or hwCBQoSMatchRuleIntValue2 cannot be configured; otherwise, an error message is displayed.

  • If the matching rule based on the VLAN ID is used, you can directly create the VLAN ID in hwCBQoSMatchVlanBeginId.

Modification Restriction

hwCBQoSMatchRuleType cannot be modified separately.

Deletion Restriction

None.

Access Restriction

None.

Translation
Download
Updated: 2019-06-05

Document ID: EDOC1000097213

Views: 99068

Downloads: 652

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next