3Com Switch 7750 Configuration Guide

134 CHAPTER 16: IP PERFORMANCE CONFIGURATION
Use the reset command in user view to clear the IP, TCP, and UDP traffic statistics.
Troubleshooting Symptom: IP packets are forwarded normally, but TCP and UDP cannot work
normally.
Solution: Enable the corresponding debugging information output to view the
debugging information.
Use the display command to display the IP performance and check whether
the PC runs normally.
Use the terminal debugging command to enable debugging information to
be output to the console.
Use the debugging udp packet command to enable the UDP debugging to
trace UDP packets.
<Switch> terminal debugging
<Switch> 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
Use the debugging tcp packet command to enable the TCP debugging to
trace TCP packets.
<Switch> terminal debugging
<Switch> debugging tcp packet
Table 81 Display IP performance
Operation Command Description
Display TCP connection status display tcp status You can execute the
display command in
any view.
Display TCP connection
statistics
display tcp statistics
Display UDP traffic statistics display udp statistics
Display IP traffic statistics display ip statistics
Display ICMP traffic statistics display icmp statistics
Display the current socket
information of the system
display ip socket [ socktype
sock-type ] [ task-id socket-id ]
Display the summary of the
forwarding information base
(FIB) entry matching the
specified rule
display fib fib-rule
Table 82 Debug IP performance
Configuration Command Description
Clear IP traffic statistics reset ip statistics The reset command
can be executed in
user view
Clear TCP traffic statistics reset tcp statistics
Clear UDP traffic statistics reset udp statistics