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

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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 11-1, the router connects to the network through GE1/0/0.

Packets sent upstream from GE1/0/0 of the router need to be Captured. Captured packet information needs to be displayed on the terminal.

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

Configuration Roadmap

The configuration roadmap is as follows:
  • Capture all packets to be forwarded and display information about these packets on a terminal

Procedure

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

    <Huawei> system-view
    [Huawei] sysname Router
    [Router] capture-packet interface gigabitethernet 1/0/0 destination terminal time-out 10
    Warning: Capture packets will be shown on ternimal.
    [Router]
      Packet: 1
      -------------------------------------------------------
      ff ff ff ff ff ff 00 e0 fc 01 00 08 08 06 00 01
      08 00 06 04 00 01 00 e0 fc 01 00 08 02 01 01 03
      00 00 00 00 00 00 0a 01 01 01 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00
      -------------------------------------------------------
    
      ------------------capture report-----------------------
      file: NULL
      interface: GigabitEthernet1/0/0
      acl: -
      car: 64pps timeout: 10s
      packets: 100 (expected) 1 (actual)
      length: 64 (expected)
      -------------------------------------------------------

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 100130

Downloads: 331

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