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

NE40E V800R010C10SPC500 Configuration Guide - QoS 01

This is NE40E V800R010C10SPC500 Configuration Guide - QoS

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).
Verifying the Configuration of MF classification-based Traffic Policies for VLAN Packets

Verifying the Configuration of MF classification-based Traffic Policies for VLAN Packets

After VLAN QoS is successfully configured, you can view the traffic classifiers, traffic behaviors, binding between traffic classifiers and behaviors in the specified traffic policy, configured traffic policies and their application, and configured queues and their application.

Procedure

  • Run the display interface [ interface-type [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] command to view the information about the traffic on the interface.
  • Run the display traffic behavior { system-defined | user-defined } [ behavior-name ] command to view information about the configured traffic behaviors.
  • Run the display traffic classifier { system-defined | user-defined } [ classifier-name ] command to view information about the configured traffic classifiers.
  • Run the display traffic policy { system-defined | user-defined } [ policy-name [ classifier classifier-name ] ] command to view information about the association between all or the specified traffic classifiers and traffic behaviors in traffic policies.
  • Run the display traffic policy statistics interface interface-type interface-number [ vlan vlan-id | pe-vid pe-vid ce-vid ce-vid ] { inbound | outbound } [ verbose { classifier-based [ class class-name ] | rule-based [ class class-name ] [ filter ] } ] command to view traffic statistics of traffic policies that are configured on the interface.

    This command is supported only on the Admin VS.

  • Run the display traffic policy statisticsdisplay traffic policy statistics bridge-domain bdid [ vlan vlan-id | pe-vid pe-vid ce-vid ce-vid | vid vid | ce-vid ce-vid | vid vid-id ce-vid ce-vid ] { inbound | outbound } [ verbose { classifier-based [ class class-name ] | rule-based [ class class-name ] [ filter ] } ] command to view traffic statistics of traffic policies that are configured on a bridge-domain.

    This command is supported only on the Admin VS.

Example

If the configuration is successful:

  • Running the display traffic behavior command, you can view the name of the configured traffic behavior and its actions.

    <HUAWEI> display traffic behavior user-defined
    User Defined Behavior Information:
        Total: 10239  Used: 2     Free: 10237
        Behavior: database
          Description: database behavior
          Redirecting:
           Redirect Ip-NextHop 10.13.9.3
    
        Behavior: huawei
          Description: 
          Marking:
            Remark IP Precedence 4
          Committed Access Rate:
            CIR 1000 (Kbps), PIR 0 (Kbps), CBS 10000 (byte), PBS 0 (byte)
            Conform Action: pass
            Yellow  Action: pass
            Exceed  Action: discard
    
  • Running the display traffic classifier command, you can view the name of the configured traffic classifier and its matching rules, as well as the logic operator of the rules.

    <HUAWEI> display traffic classifier user-defined
    User Defined Classifier Information:
        Total: 10239  Created: 2     Free: 10237
       Classifier: database
        Description: database classifier
        Operator: or
        Rule(s) : 
          if-match acl 3000
     
       Classifier: huawei
        Description: huawei classifier
        Operator: and
        Rule(s) : 
          if-match ip-precedence 3
    
  • Running the display traffic policy command, you can view the association between traffic classifiers and traffic behaviors in a traffic policy.

    <HUAWEI> display traffic policy user-defined
    User Defined Traffic Policy Information:
      Total: 4095  Used: 3     Free: 4092
      Policy: test
         Description: huawei policy
         Step: 5
         Share-mode
         Classifier: huawei Precedence 5
         Behavior: huawei
          Marking:
            remark ip precedence 4
          Committed Access Rate:
            CIR 1000 (Kbps), PIR 0 (Kbps), CBS 10000 (byte), PBS 0 (byte)
            Conform Action: pass
            Yellow  Action: pass
            Exceed  Action: discard
          Redirecting:
            redirect lsp public 10.138.0.43
         Classifier: default-class Precedence 65535
         Behavior: be
           -none-
    
  • Running the display traffic policy statistics command, you can view the traffic statistics of traffic policies that are configured on the interface.

    <HUAWEI> display traffic policy statistics interface gigabitethernet 1/0/0 inbound
    Info: The statistics is shared because the policy is shared.
    Interface: GigabitEthernet1/0/0 
    Traffic policy inbound: policy1
    Traffic policy applied at 2007-08-30 18:30:20 
    Statistics enabled at 2007-08-30 18:30:20
    Statistics last cleared: Never
    Rule number: 7 IPv4, 0 IPv6 
    Current status: OK!
    Item                             Packets                      Bytes
    -------------------------------------------------------------------
    Matched                              1000                    100000
      +--Passed                           500                     50000
      +--Dropped                          500                     50000
    Missed                                500                     50000
    Last 30 seconds rate
    Item                                 pps                        bps
    -------------------------------------------------------------------
    Matched                              1000                    100000
      +--Passed                           500                     50000
      +--Dropped                          500                     50000
    Missed                                500                     50000
  • Running the display traffic policy statisticsdisplay traffic policy statistics bridge-domaincommand, you can view the traffic statistics of traffic policies that are configured on a bridge-domain.

    <HUAWEI> display traffic policy statistics bridge-domain 1 inbound
    Bridge-domain: 1
    Info: Shared policy statistics are displayd based on a board.
    Traffic policy inbound: 1
    Traffic policy applied at 1970-01-01 01:03:29
    Statistics enabled at 1970-01-01 00:20:55
    Statistics last cleared: Never
    Rule number: 3 IPv4, 0 IPv6
    Current status: OK!
    Item                             Packets                      Bytes
    -------------------------------------------------------------------
    Matched                                0                          0
      +--Passed                            0                          0
      +--Dropped                           0                          0
    Missed                                 0                          0
    Last 30 seconds rate
    Item                                 pps                        bps
    -------------------------------------------------------------------
    Matched                                0                          0
      +--Passed                            0                          0
      +--Dropped                           0                          0
    Missed 
    
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055024

Views: 30301

Downloads: 141

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next