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


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


Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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).
Configuring the Device to Capture Packets

Configuring the Device to Capture Packets

If the device fails to forward traffic correctly, configure the packet capture function to capture service packets for analysis. This allows the device to process invalid packets in time, ensuring that network data can be transmitted correctly.


You can configure ACL rules to capture packets matching a specified ACL.


  1. Run:


    The system view is displayed.

  2. Run:

    capture-packet interface interface-type interface-number [ acl acl-number ] destination { terminal | file file-name } * [ car cir car-value | time-out time | packet-num number | packet-len length ] *

    The device is configured to capture packets.

    • The packet capture configuration is not saved in the configuration file, and becomes invalid when packet capture is complete.
    • The device can capture only upstream packets and cannot capture downstream packets.
    • Before using the capture-packet command again, wait until the last command execution is complete.
    • The system limits the rate of captured packets. If the rate of packets exceeds the limit, some packets may be discarded.
    • You can set the timeout period specified by time and the number of packets to be captured specified by number for a capture instance. If the timeout period expires or the specified number of packets are captured, the system stops capturing packets.

    • You can set packet capture parameters based on the number of packets on the interface. If a large number of packets are forwarded on an interface, set the time parameter to a small value and the number parameter to a large value. If a small number of packets are forwarded on an interface, set the time parameter to a large value and the number parameter to a small value.

Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 118411

Downloads: 309

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