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.


CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 13

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Forwarded Packets

Configuring the Device to Capture Forwarded Packets

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


Pay attention to the following precautions when configuring packet capturing:

  • The device can capture only upstream packets and cannot capture downstream packets. The device supports only one instance for capturing incoming.
  • 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.

  • After the packet capture function is configured, performance of the device may be affected. Exercise caution when you configure this function.
  • If resources are the device are insufficient, the system displays message "Failed to capture packet on slot [slot], because the resource is not enough to use." The packet capturing function cannot be provided. It is recommended that you capture packets in other ways, such as mirroring.


  1. Run:

    capture-packet interface interface-type interface-number [ { acl-number | ipv6 acl6-number } | vlan vlan-id | inner-vlan inner-vlan-id ] * destination { terminal | file file-name } * [ time-out time | packet-num number | packet-len { length | total-packet } ] *

    The device is configured to capture forwarded packets.

Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 60259

Downloads: 3623

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