Configuration Examples; Example For Capturing Packets - Huawei S9300 Configuration Manual

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
If captured packet information fails to be sent to the TFTP or FTP server, the S9300&S9300E
switch saves captured packet information locally.
----End

10.5 Configuration Examples

This section provides an example of packet capture configuration.

10.5.1 Example for Capturing Packets

This example illustrates how to capture packets on a switch and send captured packet information
to a TFTP or FTP server for fault analysis.
Networking Requirements
Switch connects to the network through GE1/0/1 and can communicate with the FTP server.
All the packets sent from GE1/0/1 to the network need to be captured and saved in the
packet.cap file on the FTP server. The packets sent to the CPU of Switch need to be captured
and saved in the packet_cpu.cap file on the FTP server. Captured packet information needs to
be displayed on the terminal.
Figure 10-1 Networking diagram of packet capture
Switch
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
Issue 01 (2012-03-15)
GE1/0/1
Capture packets sent upstream from GE1/0/1. Save captured packet information on the FTP
server and display captured packet information on the terminal.
Capture packets sent to the CPU. Save captured packet information on the FTP server and
display captured packet information on the terminal.
Number of the uplink interface: GE1/0/1
FTP server IP address, FTP user name, and password: 192.168.1.10, user1, and 123456
Files used to save captured packet information: packet.cap (service packets) and
packet_cpu.cap (packets sent to the CPU)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
FTP server
192.168.1.10
10 Packet Capture Configuration
575

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents