448
TCP attack protection configuration
commands
display tcp status
Use
display tcp status
to display status of all TCP connections for monitoring TCP connections.
Syntax
display tcp status
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
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, a case-sensitive string of 1 to 256 characters.
Examples
# In standalone mode, display status of all TCP connections.
<Sysname> display tcp status
*: TCP MD5 Connection
TCPCB
Local
Add:port
Foreign
Add:port
State
03e37dc4
0.0.0.0:4001
0.0.0.0:0
Listening
04217174
100.0.0.204:23
100.0.0.253:65508 Established
# In IRF mode, display status of all TCP connections.
<Sysname> display tcp status
*: TCP MD5 Connection
TCPCB Local Add:port Foreign Add:port State
09854ed0 0.0.0.0:23 0.0.0.0:0 Listening
09887e30 0.0.0.0:179 10.0.0.1:0 Established
098886b0 0.0.0.0:179 10.0.0.3:0 Listening
0985f250 0.0.0.0:646 0.0.0.0:0 Listening
099e2440 10.0.0.2:1121 10.0.0.3:179 Syn_Sent
099e3320 10.0.0.2:4646 10.0.0.1:179 Syn_Sent
Chassis 2 Slot 0:
098c40f0 0.0.0.0:23 0.0.0.0:0 Listening
098c4db0 0.0.0.0:646 0.0.0.0:0 Listening
Chassis 2 Slot 1: