HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

185
display tcp
Use display tcp to display brief information about TCP connections.
Syntax
MSR2000/MSR3000:
display tcp
MSR4000:
display tcp [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Displays brief TCP connection information for the specified card. The slot-number
argument specifies the slot number of the card. (MSR4000)
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. (MSR2000/MSR3000)
<Sysname> display tcp
*: TCP MD5 Connection
Local Addr:port Foreign Addr:port State PCB
*0.0.0.0:21 0.0.0.0:0 LISTEN 0x000000000000c387
192.168.20.200:23 192.168.20.14:1284 ESTABLISHED 0x0000000000000009
192.168.20.200:23 192.168.20.14:1283 ESTABLISHED 0x0000000000000002
# Display brief information about TCP connections. (MSR4000)
<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 49 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.