H3C Technologies H3C S3100 Series Switches User Manual
Page 113

Operation Manual – IP Address and Performance Confiugration
H3C S3100-52P Ethernet Switch
Chapter 2 IP Performance Configuration
2-4
Solution
: Enable the corresponding debugging information output to view the
debugging information.
z
Use the display command to display the IP performance and check whether the
PC runs normally.
z
Use the terminal debugging command to enable debugging information to be
output to the console.
z
Use the debugging udp packet command to enable the UDP debugging to trace
UDP packets.
<H3C> terminal debugging
<H3C> debugging udp packet
The UDP packets are shown in the following format:
UDP output packet:
Source IP address:202.38.160.1
Source port:1024
Destination IP Address 202.38.160.1
Destination port: 4296
z
Use the debugging tcp packet command to enable the TCP debugging to trace
TCP packets.
<H3C> terminal debugging
<H3C> debugging tcp packet
Then the TCP packets received or sent will be displayed in the following format in real
time:
TCP output packet:
Source IP address:202.38.160.1
Source port:1024
Destination IP Address 202.38.160.1
Destination port: 4296
Sequence number :4185089
Ack number: 0
Flag :SYN
Packet length :60
Data offset: 10