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 Packet Trace

Configuring Packet Trace

Context

On an enterprise network, packet loss is a problem that usually happens. Huawei switches provide the packet trace function to help you find out the cause of packet loss inside the switches. Then you can provide the cause to technical support personnel for fault location. Besides, packet trace can show you the packet forwarding entries in the switches and the hash calculation results for path selection.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure the packet trace profile:

    • To specify the detection packet content in the packet trace profile, run the detector packet-trace profile profile-name packet packet-value command. You can use a packet capture tool to obtain the packet content.
    • To configure a profile in which the detection packet type is TCP, run the detector packet-trace profile profile-name source-mac mac-address destination-mac mac-address [ vlan vlan-id [ 8021p 8021p-value ] ] source-ip ip-address destination-ip ip-address [ dscp dscp-value ] [ ttl tll-value ] tcp source-port source-port-number destination-port destination-port-number [ payload payload-value ] command.
    • To configure a profile in which the detection packet type is UDP, run the detector packet-trace profile profile-name source-mac mac-address destination-mac mac-address [ vlan vlan-id [ 8021p 8021p-value ] ] source-ip ip-address destination-ip ip-address [ dscp dscp-value ] [ ttl tll-value ] udp source-port source-port-number destination-port destination-port-number [ payload payload-value ] command.
    • To configure a profile in which the detection packet type is ICMP, run the detector packet-trace profile profile-name source-mac mac-address destination-mac mac-address [ vlan vlan-id [ 8021p 8021p-value ] ] source-ip ip-address destination-ip ip-address [ dscp dscp-value ] [ ttl tll-value ] icmp icmp-type icmp-type icmp-code icmp-code [ payload payload-value ] command.

    By default, no packet trace profile is available.

    The switch supports a maximum of 16 packet trace profiles. To configure the 17th profile, delete an existing profile by running the undo detector packet-trace profile command.

    The detector packet-trace profile profile-name packet packet-value command supports IPv4 and IPv6 profiles, whereas the other three commands support only IPv4 profiles.

    Each profile must use a unique name. If you name a new profile the same as an existing one, the new profile overwrites the existing profile.

  3. Run commit

    The configuration is committed.

Follow-up Procedure

After a packet trace profile is configured, run the display detector packet-trace profile profile-name interface interface-type interface-number result command to simulate the packet forwarding process inside a switch with a specified receiving interface and display the packet trace result.

Verifying the Configuration

  • Run the display detector packet-trace profile [ profile-name ] command to view the packet trace profile configuration on the switch.
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 29845

Downloads: 29

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