display tcp
Use display tcp to display brief information about TCP connections.
Syntax
display tcp [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies an IRF member device by its member ID.
Usage guidelines
Brief TCP connection information includes local IP address, local port number, peer IP address, peer port number, and TCP connection state.
Examples
# Display brief information about TCP connections.
<Sysname> display tcp *: TCP MD5 Connection Local Addr:port Foreign Addr:port State Slot PCB *0.0.0.0:21 0.0.0.0:0 LISTEN 1 0x000000000000c387 192.168.20.200:23 192.168.20.14:1284 ESTABLISHED 1 0x0000000000000009 192.168.20.200:23 192.168.20.14:1283 ESTABLISHED 1 0x0000000000000002
Table 35: Command output
Field | Description |
---|---|
* | Indicates the TCP connection uses MD5 authentication. |
Local Addr:port | Local IP address and port number. |
Foreign Addr:port | Peer IP address and port number. |
State | TCP connection state. |
Slot | ID of the IRF member device. |
PCB | PCB index. |