3com 3.01.01 用户手册

下载
页码 356
60
C
HAPTER
 4: N
ETWORK
 P
ROTOCOL
 O
PERATION
Troubleshooting IP 
Performance
If the IP layer protocol works normally, but TCP and UDP do not work normally, 
you can enable the corresponding debugging information output to view the 
debugging information.
Use the terminal debugging command to output the debugging information 
to the console. 
Use the debugging udp packet command to enable the UDP debugging to 
trace the UDP packet. When the router sends or receives UDP packets, the 
content format of the packet can be displayed in real time. You can locate the 
problem from the contents of the 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 or debugging tcp transaction command to 
enable the TCP debugging to trace the TCP packets. There are two available 
ways for debugging TCP.
Debug and trace the packets of the TCP connection that take this device as one 
end.
Operations include:
<SW8800>terminal debugging
<SW8800>debugging tcp packet
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
Display the FIB entries matching the 
destination IP address (range)
display fib ip_address1 [ { mask1 | 
mask-length1 } [ ip_address2 { mask2 | 
mask-length2 } | longer ] | longer ]
Display the FIB entries that match a specific 
ACL
display fib acl { number | name }
Display the FIB entries which are output from 
the buffer according to regular expression and 
related to the specific character string
display fib | { { begin | include | exclude } 
text }
Display the FIB entries matching the specific 
prefix list
display fib ip-prefix listname
Display the total number of FIB entries
display fib statistics
Reset IP statistics information
reset ip statistics
Reset TCP statistics information
reset tcp statistics
Table 15   Display and Debug IP Performance
Operation
Command