Troubleshooting IP
Performance
Table 305 Displaying and Debugging IP Performance
Operation
Display the total number of FIB entries
Reset IP statistics information
Reset TCP statistics information
Reset UDP statistics information
Fault: IP layer protocol works normally but TCP and UDP cannot work normally.
In the event of such a fault, you can enable the corresponding debugging information
output to view the debugging information.
Use the
■
terminal debugging
the console.
Use the command
■
debugging udp packet
the UDP packet.
The following are the UDP packet formats:
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
the TCP packets.
Operations include:
[SW5500]terminal debugging
<SW5500>debugging tcp packet
Then the TCP packets received or sent can be checked in real time. Specific packet
formats include:
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
IP Performance Configuration 307
Command
display fib statistics[{begin|include
|exclude}text]
reset ip statistics
reset tcp statistics
reset udp statistics
command to output the debugging information to
to enable the UDP debugging to trace
command to enable the TCP debugging to trace