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

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
How Is Packet Capture Configured?

How Is Packet Capture Configured?

CE switches support two packet capture modes:
  • Capture forwarded packets: If an error occurs in forwarded traffic (for example, the traffic status does not match the traffic model), it is recommended that you configure the device to capture the forwarded packets for analysis so that the device can quickly identify invalid packets. This function ensures correct data transmission on the network.

    Run the capture-packet interface { interface-type interface-number } &<1-4> [ vxlan [ vni vni-id ] [ tag-format { none | single } ] [ acl acl-number ] | [ vlan vlan-id | inner-vlan inner-vlan-id | acl { acl-number | ipv6 acl6-number } ] * ] [ clear payload ] destination { terminal | file file-name } * [ time-out time | packet-num number | packet-len { length | total-packet } ] * command in the user view to configure a capture instance for forwarded packets.

    Only the CE12800, CE12800E, CE8868EI, CE8861EI, CE8860EI, CE8850EI, CE7855EI, CE7850EI, CE6880EI, CE6875EI, CE6870EI, CE6865EI, CE6860EI, CE6857EI, CE6856HI, CE6855HI, CE6851HI, CE6850HI, CE6850U-HI, and CE5880EI can capture the packets based on the specified VXLAN inner information.

    The CE12800, CE12800E (except CE12800E configured with FD-X series cards), CE16800, CE6875EI, and CE6870EI do not support the inner-vlan inner-vlan-id parameter.

  • Capture the packets sent to the CPU: If the CPU of a device works abnormally, for example, has a high CPU usage, it is recommended that you configure the device to capture the packets sent to the CPU for analysis. This helps you detect and handle invalid packets promptly to ensure stable running of the CPU.

    Run the capture-packet local-host [ interface { interface-type interface-number } &<1-4> ] [ acl { { acl-number | name acl-name } | ipv6 { acl6-number | name acl6-name } } | vlan vlan-id | inner-vlan inner-vlan-id ] * destination { terminal | file file-name } * [ time-out time | packet-num number | packet-len { length | total-packet } ] * command in the user view to configure the device to capture the packets sent to the CPU.

Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 604205

Downloads: 2938

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next