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).
Example for Configuring Packet Capture Function

Example for Configuring Packet Capture Function

Networking Requirements

As shown in Figure 9-1, the switch connects to the network through 10GE1/0/1.

A fault occurs on the Figure 9-1, for example, the CPU or traffic forwarding process is abnormal. The network administrator wants to capture the packets sent to the CPU or forwarded to other devices through 10GE1/0/1, and display information about captured packets on the screen so that the administrator can process invalid packets in a timely manner. This ensures stable running of the CPU and correct network data transmission.

Figure 9-1 Networking diagram for configuring the packet capture function

Configuration Roadmap

The configuration roadmap is as follows:
  1. Capture all packets to be forwarded and display information about these packets on a terminal.
  2. Capture packets sent to the CPU and display captured packet information on the terminal.

Procedure

  1. Capture all packets to be forwarded on 10GE1/0/1 and display information about these packets on a terminal.

    <HUAWEI> capture-packet interface 10GE 1/0/1 destination terminal packet-num 1
    Warning: Capture-packet will be shown on terminal.
    <HUAWEI>
      Packet: 0 Interface: 10GE1/0/1
    
      -------------------------------------------------------
    
      00 25 9e 95 7c 4e 00 25 9e 95 7c 3e 81 00 20 de
    
      08 06 00 01 08 00 06 04 00 02 00 25 9e 95 7c 3e
    
      c0 a8 27 01 00 25 9e 95 7c 4e c0 a8 27 02 00 00
    
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    
      -------------------------------------------------------
    
      ------------------capture report-----------------------
    
      Capture-Packet Index 1
      Type        : forwarding
      Interface   : 10GE1/0/1
      Direction   : inbound
      Time-out    : 60 seconds
      Packet-num  : 1
      Packet-len  : 64
      BufferOnly  : disabled
    
      -------------------------------------------------------                       

  2. Capture packets sent to the CPU and display captured packet information on the terminal.

    <HUAWEI> capture-packet local-host interface 10GE 1/0/1 destination terminal packet-num 3 time-out 10
    Info: Capture-packet will be shown on terminal.
    <HUAWEI>
      Packet: 0  Interface: 10GE1/0/1
    
      -------------------------------------------------------
    
      00 25 9e 95 7c 40 00 19 21 db 25 a3 08 00 45 00
    
      00 28 fb df 40 00 80 06 7b 0f c0 a8 01 03 c0 a8
    
      01 8d 11 5f 00 17 a9 1e 44 56 3b e0 af 92 50 10
    
      ff 53 42 42 00 00 00 00 00 00 00 00
    
      -------------------------------------------------------
    
      Packet: 1  Interface: 10GE1/0/1
    
      -------------------------------------------------------
    
      00 25 9e 95 7c 40 00 19 21 db 25 a3 08 00 45 00
    
      00 28 fb e4 40 00 80 06 7b 0a c0 a8 01 03 c0 a8
    
      01 8d 11 5f 00 17 a9 1e 44 56 3b e0 af a1 50 10
    
      ff 44 42 42 00 00 00 00 00 00 00 00
    
      -------------------------------------------------------
    
      Packet: 2  Interface: 10GE1/0/1
    
      -------------------------------------------------------
    
      00 25 9e 95 7c 40 00 19 21 db 25 a3 08 00 45 00
    
      00 28 fb e8 40 00 80 06 7b 06 c0 a8 01 03 c0 a8
    
      01 8d 12 76 00 17 e9 d4 2d 60 11 61 41 17 50 10
    
      fc b6 b3 02 00 00 00 00 00 00 00 00
    
      -------------------------------------------------------
    
      ------------------capture report-----------------------
    
      Capture-Packet Index 8
      Type        : local-host
      LinkType    : ethernet
      Interface   : 10GE1/0/1
      Time-out    : 10 seconds
      Packet-num  : 3
      Packet-len  : 20
      BufferOnly  : disabled
    
    
      -------------------------------------------------------                       

Configuration Files

None

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 30188

Downloads: 29

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