display portal tcp-cheat statistics

Syntax

display portal tcp-cheat statistics [ | { 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 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.

Description

Use display portal tcp-cheat statistics to display TCP spoofing statistics.

Examples

# Display TCP spoofing statistics.

<Sysname> display portal tcp-cheat statistics
 TCP Cheat Statistic:
 Total Opens: 0
 Resets Connections: 0
 Current Opens: 0
 Packets Received: 0
 Packets Sent: 0
 Packets Retransmitted: 0
 Packets Dropped: 0
 HTTP Packets Sent: 0
 Connection State:
          SYN_RECVD: 0
          ESTABLISHED: 0
          CLOSE_WAIT: 0
          LAST_ACK: 0
          FIN_WAIT_1: 0
          FIN_WAIT_2: 0
          CLOSING: 0

Table 20: Command output

Field

Description

TCP Cheat Statistic

TCP spoofing statistics

Total Opens

Total number of opened connections

Resets Connections

Number of connections reset through RST packets

Current Opens

Number of connections being set up

Packets Received

Number of received packets

Packets Sent

Number of sent packets

Packets Retransmitted

Number of retransmitted packets

Packets Dropped

Number of dropped packets

HTTP Packets Sent

Number of HTTP packets sent

Connection State

Statistics of connections in various states

ESTABLISHED

Number of connections in ESTABLISHED state

CLOSE_WAIT

Number of connections in CLOSE_WAIT state

LAST_ACK

Number of connections in LAST-ACK state

FIN_WAIT_1

Number of connections in FIN_WAIT_1 state

FIN_WAIT_2

Number of connections in FIN_WAIT_2 state

CLOSING

Number of connections in CLOSING state