Ensure that the source IP address can ping the IP address of the remote packet capture
server.
2.
Run the
remote-capture trace trace-value frame/slot/port frame/slot/port
command to
configure user information.
Step 2
Start the remote packet capture software and wait until all required packets are captured.
Step 3
Run the
undo remote-capture trace
command on the MA5612 to stop capturing packets.
----End
Result
After required packets are captured, you can analyze captured data.
8.13 Capturing Packets by Using Port Mirroring
Capturing packets on an Ethernet port allows you to monitor the traffic on a device, diagnose
network faults, and analyze the data. This requires a packet capture tool connected to the uplink
Ethernet port, which may interrupt the service on the uplink Ethernet port. Port mirroring
function allows you to mirror the packets on an Ethernet port to an idle Ethernet port and to
capture the packets to the destination port, preventing service interruption on the source port.
This topic describes how to capture packets by using port mirroring on an Ethernet port.
Context
shows the cable connection in port mirroring and packet capturing.
Figure 8-6
Cable connection in port mirroring and packet capturing
Packet capture
tool
Uplink port
Source port
Destination port
Description: In the preceding figure, the source port is the uplink port of a device, namely, the
Ethernet port on which packets are to be captured. The packets transmitted through the source
port are mirrored to the destination port. A packet capture tool is connected to the destination
port for capturing the packets.
The packet capture tool (for example, the Ethereal) can be installed on a PC that is connected
to the destination port by using a network cable. (If the destination port is an optical port, an O/
E converter can be used for signal converting.)
SmartAX MA5612 Multi-service Access Module
Maintenance Guide
8 Common Operation
Issue 01 (2012-07-25)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
262