Examples
# Display brief information about TCP connections.
<Sysname> display tcp
*: TCP MD5 Connection
Local Addr:port
*0.0.0.0:21
192.168.20.200:23
192.168.20.200:23
Table 31 Command output
Field
*
Local Addr:port
Foreign Addr:port
State
Slot
PCB
display tcp statistics
Use display tcp statistics to display TCP traffic statistics.
Syntax
display tcp statistics [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Displays TCP traffic statistics for the specified IRF member device. The slot-number
argument specifies the ID of the IRF member device.
Usage guidelines
TCP traffic statistics include information about received and sent TCP packets and Syncache/syncookie.
Examples
# Display TCP traffic statistics.
<Sysname> display tcp statistics
Received packets:
Total: 4150
packets in sequence: 1366 (134675 bytes)
window probe packets: 0, window update packets: 0
checksum error: 0, offset error: 0, short error: 0
Foreign Addr:port
0.0.0.0:0
192.168.20.14:1284
192.168.20.14:1283
Description
Indicates the TCP connection uses MD5 authentication.
Local IP address and port number.
Peer IP address and port number.
TCP connection state.
ID of an IRF member device.
PCB index.
131
State
Slot PCB
LISTEN
1
0x000000000000c387
ESTABLISHED 1
0x0000000000000009
ESTABLISHED 1
0x0000000000000002