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

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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.

Precaution

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.

  • The device cannot capture packets on stack ports or physical ports of stack members.
  • The device can capture packets on Eth-Trunks, but cannot capture packets on member ports of an Eth-Trunk.

  • When the device captures EVN/VXLAN packets on EA series and GE interface cards, the device will remove the 16-byte headers from the packets.
  • 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.

Procedure

  1. Run 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 } ] *

    The device is configured an instance to capture forwarded packets.

    If an ACL is specified for matching the original Ethernet frames in VXLAN packets to be captured, the ACL rules can contain only the source MAC address, Ethernet frame type, destination IP address, source IP address, destination port number, and source port number. If the ACL rules specify other options, the VXLAN packets cannot be captured.

    When the clear payload parameter is specified, the switch sets the data content in the captured TCP and UDP packets to 0.

    NOTE:

    The CE12800E supports the inner-vlan inner-vlan-id parameter when configure with FD-X series cards.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 30999

Downloads: 29

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