TCP attack protection configuration commands
display tcp status
Syntax
display tcp status [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display tcp status command to display status of all TCP connections for monitoring TCP
connections.
Examples
# Display status of all TCP connections.
<Sysname> display tcp status
*: TCP MD5 Connection
TCPCB
03e37dc4
04217174
Table 40 Output description
Field
*: TCP MD5 Connection
TCPCB
Local Add:port
Foreign Add:port
State
Local Add:port
0.0.0.0:4001
100.0.0.204:23
Description
If the status information of a TCP connection contains *, the TCP adopts the MD5
algorithm for authentication.
TCP control block
Local IP address and port number
Remote IP address and port number
State of the TCP connection
Foreign Add:port
0.0.0.0:0
100.0.0.253:65508
282
State
Listening
Established