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

S12700 V200R011C10 MIB Reference

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).
Querying QoS Information

Querying QoS Information

Querying the Diff-Serv Profile and Its Application

The table hwXQosBaCfgInfoTable allows you to query a Diff-Serv profile and its application.

  1. Query the index of the Diff-Serv profile by performing the Walk operation for the Walk hwXQosBaName object. As shown in Figure 3-86, the index of the Diff-Serv profile ISR is 1.

    Figure 3-86  Querying the index of the Diff-Serv profile
  2. Query the application status of the Diff-Serv profile based on the index by performing the Walk operation for the hwXQosBaRowStatus object. As shown in Figure 3-87, the application status of the ISR profile is active.

    Figure 3-87  Querying the application status of the Diff-Serv profile

Querying Mapping Relationships in a Diff-Serv Profile on the Inbound Interface

The table hwXQosBaPhbCfgInfoTable allows you to query the mapping from the external priority to the internal priority and color in a Diff-Serv profile.

  1. Query the index of the Diff-Serv profile by performing the Walk operation for the Walk hwXQosBaName object. As shown in Figure 3-88, the index of the 1212 profile is 3.

    Figure 3-88  Querying the index of the Diff-Serv profile
  2. Query the internal priority hwXQosBaPhbCos based on hwXQoSBaIndex, hwXQoSBaPhbType, and hwXQoSBaPhbPri by performing the Get operation for the hwXQosBaPhbCos object.
    • hwXQoSBaIndex: specifies the index of the Diff-Serv profile.
    • hwXQoSBaPhbType: specifies the priority field type, whose value is 1 for the 802.1p priority and 2 for the DSCP priority.
    • hwXQoSBaPhbPri: specifies the value of the priority field.
    • hwXQosBaPhbCos: specifies the value of the internal priority. For mapping between the internal priority and CoS, see hwXQosBaPhbCfgInfoTable.

    As shown in Figure 3-89, the value of hwXQosBaPhbCos is hwXQosBaPhbCos.A.B.C, among which A indicates hwXQoSBaIndex, B indicates hwXQoSBaPhbType, and C indicates hwXQoSBaPhbPri. hwXQoSBaIndex, hwXQoSBaPhbType, and hwXQoSBaPhbPri uniquely identify the value of the internal priority hwXQosBaPhbCos. In Figure 3-89, the value of hwXQosBaPhbCos.3.1.0 is 0, indicating that the 802.1p priority 0 is mapped to the internal priority BE in the inbound direction in the Diff-Serv profile 1212.

    Figure 3-89  Querying the internal priority
  3. Query the packet color hwXQosBaPhbColour based on hwXQoSBaIndex, hwXQoSBaPhbType, and hwXQoSBaPhbPri by performing the Get operation for the hwXQosBaPhbColour object. As shown in Figure 3-90, the value of hwXQosBaPhbColour is hwXQosBaPhbCos.A.B.C, among which A indicates hwXQoSBaIndex, B indicates hwXQoSBaPhbType, and C indicates hwXQoSBaPhbPri. hwXQoSBaIndex, hwXQoSBaPhbType, and hwXQoSBaPhbPri uniquely identify the packet color hwXQosBaPhbColour. In Figure 3-89, the value of hwXQosBaPhbColour.3.1.0 is yellow, indicating that the 802.1p priority 0 is mapped to yellow in the inbound direction in the Diff-Serv profile 1212.

    Figure 3-90  Querying the packet color

Querying Mapping Relationships in a Diff-Serv Profile on the Outbound Interface

The table hwXQoSBaMapCfgInfoTable allows you to query the mapping from the internal priority and color to the external priority in a Diff-Serv profile.

  1. Query the index of the Diff-Serv profile by performing the Walk operation for the Walk hwXQosBaName object. As shown in Figure 3-91, the index of the 1212 profile is 3.

    Figure 3-91  Querying the index of the Diff-Serv profile
  2. Query the value of hwXQosBaMapPri based on hwXQosBaIndex, hwXQosBaMapType, hwXQosBaMapCos, and hwXQosBaMapColour by performing the Get operation for the hwXQosBaMapPri object.
    • hwXQoSBaIndex: specifies the index of the Diff-Serv profile.
    • hwXQosBaMapType: specifies the external priority field type, whose value is 1 for the 802.1p priority and 2 for the DSCP priority.
    • hwXQosBaMapCos: specifies the value of the internal priority. For mapping between the internal priority and CoS, see hwXQosBaPhbCfgInfoTable.
    • hwXQosBaMapColour: specifies the packet color whose value is 1 for green packets, 2 for yellow packets, and 3 for red packets.
    • hwXQosBaMapPri: specifies the value of the external priority.

    As shown in Figure 3-92, the value of hwXQosBaMapPri is hwXQosBaMapPri.A.B.C.D, among which A indicates hwXQosBaIndex, B indicates hwXQosBaMapType, C indicates hwXQosBaMapCos, and D indicates hwXQosBaMapColour. hwXQosBaIndex, hwXQosBaMapType, hwXQosBaMapCos, and hwXQosBaMapColour uniquely identify the value of the external priority hwXQosBaMapPri. In Figure 3-92, the value of hwXQosBaPhbCos.3.1.2.2 is 7, indicating that the internal priority AF2 of yellow packets is mapped to the external priority 7 in the outbound direction in the Diff-Serv profile 1212.

    Figure 3-92  Querying the external priority

Querying Queue Statistics on an Interface

The table hwXQoSIfQueueRunInfoTable allows you to query statistics about eight queues on an interface.

  1. Query the index hwXQoSIfQueueIfIndex of the interface by referring to Querying Interface Information. This topic assumes that the interface index on GE1/0/5 is 9.

  2. Query the number of packets passing through a queue (hwXQoSIfQueuePassedPackets) based on hwXQoSIfQueueIfIndex, hwXQoSIfQueueVlanID, and hwXQoSIfQueueCosType by performing the Get operation for the hwXQoSIfQueuePassedPackets object.
    • hwXQoSIfQueueIfIndex: specifies the interface index.
    • hwXQoSIfQueueVlanID: specifies the VLAN ID, which is 0 currently because this parameter is invalid.
    • hwXQoSIfQueueCosType: specifies the queue number whose value is 1 for the BE queue, 2 for the AF1 queue, 3 for the AF2 queue, 4 for the AF3 queue, 5 for the AF4 queue, 6 for the EF queue, 7 for the CS6 queue, and 8 for the CS7 queue.

    As shown in Figure 3-93, the value of hwXQoSIfQueuePassedPackets is hwXQoSIfQueuePassedPackets.A.B.C, among which A indicates hwXQoSIfQueueIfIndex, B indicates hwXQoSIfQueueVlanID, and C indicates hwXQoSIfQueueCosType. hwXQoSIfQueueIfIndex, hwXQoSIfQueueVlanID, and hwXQoSIfQueueCosType uniquely identify the value of hwXQoSIfQueuePassedPackets. In Figure 3-93, the value of hwXQoSIfQueuePassedPackets.9.0.1 is 16975988764, indicating that 16,975,988,764 packets pass through the BE queue on GE1/0/5.

    Figure 3-93  Querying the number of packets passing through the queue

  3. Query the bytes of packets passing through a queue (hwXQoSIfQueuePassededBytes) based on hwXQoSIfQueueIfIndex, hwXQoSIfQueueVlanID, and hwXQoSIfQueueCosType by performing the Get operation for the hwXQoSIfQueuePassededBytes object. The method is the same as that for querying the number of packets passing through a queue.

    In Figure 3-94, the value of hwXQoSIfQueuePassededBytes.9.0.1 is 4146197780262, indicating that 4,146,197,780,262-byte packets pass through the BE queue on GE1/0/5.

    Figure 3-94  Querying the bytes of packets passing through the queue

  4. Query the number of dropped packets in a queue (hwXQoSIfQueueDiscardedPackets) based on hwXQoSIfQueueIfIndex, hwXQoSIfQueueVlanID, and hwXQoSIfQueueCosType by performing the Get operation for the hwXQoSIfQueueDiscardedPackets object. The method is the same as that for querying the number of packets passing through a queue.

    In Figure 3-95, the value of hwXQoSIfQueueDiscardedPackets.9.0.1 is 24754721880, indicating that 24,754,721,880 packets are dropped in the BE queue on GE1/0/5.

    Figure 3-95  Querying the number of dropped packets in the queue

  5. Query the bytes of dropped packets in a queue (hwXQoSIfQueueDiscardedBytes) based on hwXQoSIfQueueIfIndex, hwXQoSIfQueueVlanID, and hwXQoSIfQueueCosType by performing the Get operation for the hwXQoSIfQueueDiscardedBytes object. The method is the same as that for querying the number of packets passing through a queue.

    In Figure 3-96, the value of hwXQoSIfQueueDiscardedBytes.9.0.1 is 5897696774720, indicating that 5,897,696,774,720-byte packets are dropped in the BE queue on GE1/0/5.

    Figure 3-96  Querying the bytes of dropped packets in the queue

Querying the Traffic Classifier

The table hwCBQoSClassifierCfgInfoTable allows you to query information about a traffic classifier.

  1. Query the index hwCBQoSClassifierIndex of the traffic classifier based on hwCBQoSClassifierName by performing the Walk operation for the table hwCBQoSClassifierCfgInfoTable. As shown in Figure 3-97, the index hwCBQoSClassifierIndex of the traffic classifier ISR is 2.

    Figure 3-97  Querying the index of the traffic classifier
  2. Query information about the traffic classifier based on hwCBQoSClassifierRuleCount and hwCBQoSClassifierOperator by performing the Walk operation for the table hwCBQoSClassifierCfgInfoTable.
    • hwCBQoSClassifierRuleCount: specifies the number of matching rules in the traffic classifier.
    • hwCBQoSClassifierOperator: specifies the relationships between rules in the traffic classifier.

    As shown in Figure 3-98, the value of hwCBQoSClassifierRuleCount is hwCBQoSClassifierRuleCount.A, and the value of hwCBQoSClassifierOperator is hwCBQoSClassifierOperator.A. A indicates hwCBQoSClassifierIndex. hwCBQoSClassifierRuleCount and hwCBQoSClassifierOperator uniquely identify information about the traffic classifier. In Figure 3-98, the value of hwCBQoSClassifierRuleCount.2 is 3, indicating that the ISR traffic classifier has three rules. The value of hwCBQoSClassifierOperator.2 is or, indicating that the relationship between the two rules is OR. Information about hwCBQoSClassifierLayer can be ignored.

    Figure 3-98  Querying the relationship between the number of rules and relationship between rules in the traffic classifier
  3. Query information about a rule in the traffic classifier based on hwCBQoSClassifierIndex and hwCBQoSMatchRuleIndex by performing the Walk operation for the table hwCBQoSClassifierCfgInfoTable.
    • hwCBQoSClassifierIndex: specifies the index of the traffic classifier.
    • hwCBQoSMatchRuleIndex: specifies the index of the rule.

    As shown in Figure 3-99, the value of hwCBQoSMatchRuleType is hwCBQoSMatchRuleType.A.B, and the value of hwCBQoSMatchRuleIntValue1 is hwCBQoSMatchRuleIntValue1.A.B. A indicates hwCBQoSClassifierIndex, and B indicates hwCBQoSMatchRuleIndex. hwCBQoSClassifierIndex and hwCBQoSMatchRuleIndex uniquely identify information about a rule, including hwCBQoSMatchRuleType, hwCBQoSMatchRuleStringValue, and hwCBQoSMatchRuleIntValue1.

    NOTE:

    For the description and specifications of each object for a matching rule, refer to hwCBQoSMatchRuleCfgInfoTable.

    In Figure 3-99, hwCBQoSMatchRuleType.2.0 and hwCBQoSMatchRuleIntValue1.2.0 indicates that packets from VLAN 500 match the first rule in the traffic classifier ISR.

    Figure 3-99  Querying information about the rule

Querying the Traffic Policing Configuration

The table hwCBQoSCarCfgInfoTable allows you to query information about traffic policing.

The index of the table hwCBQoSCarCfgInfoTable is hwCBQoSBehaviorIndex. For details about the table, see hwCBQoSCarCfgInfoTable.

This topic describes how to query the committed information rate (hwCBQoSCarCir), committed burst size (hwCBQoSCarCbs), peak information rate (hwCBQoSCarPir), and peak burst size (hwCBQoSCarPbs).

  1. Query the index of a traffic behavior by performing the Walk operation for the table hwCBQoSBehaviorCfgInfoTable. As shown in Figure 3-100, the index of traffic behavior ISR is 2.

    Figure 3-100  Querying the index of the traffic behavior
  2. Query the traffic policing configuration of traffic behavior with the index of 2 by performing the Walk operation for the hwCBQoSCarCfgInfoTable. As shown in Figure 3-101, the CIR is 8,192 kbps, the CBS is 1,024,000 bytes, the PIR is 10,240 kbps, and the PBS is 1,280,000 bytes.
    Figure 3-101  Querying the traffic policing configuration

Query the remarking configuration (hwCBQoSRemarkCfgInfoTable), traffic filtering configuration (hwCBQoSFirewallCfgInfoTable), traffic mirroring configuration (hwCBQoSMirrorCfgInfoTable), and traffic count configuration (hwCBQoSCountCfgInfoTable) in the similar method. Query the index of the traffic behavior based on hwCBQoSBehaviorCfgInfoTable and then query the required information in corresponding tables.

Translation
Download
Updated: 2019-03-29

Document ID: EDOC1000178122

Views: 733995

Downloads: 36

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