The debugging tcp event command enables debugging of TCP events and outputs debugging information.
The undo debugging tcp event command disables debugging of TCP events.
By default, the debugging of TCP events is disabled.
Parameter | Description | Value |
---|---|---|
local-ip inpLAddr |
Specifies the IPv4 address of the local end. |
The value is in dotted decimal notation. |
local-port inpLPort |
Specifies the TCP port number of the local end. |
The value is an integer ranging from 0 to 65535. |
remote-ip inpFAddr |
Specifies the IPv4 address of the remote end. |
The value is in dotted decimal notation. |
remote-port inpFPort |
Specifies the TCP port number of the remote end. |
The value is an integer ranging from 0 to 65535. |
socket-id sofd |
Specifies the Socket ID. |
The value is an integer ranging from 0 to 2147418111. |
Usage Scenario
The debugging tcp event command enables debugging of TCP events and outputs debugging information so that you can detect the status of a TCP packet when the TCP packet is abnormal. For example, to detect change of TCP status change during establishment of a three-way handshake or closing of a four-way handshake, run the display tcp event command.
The debugging tcp command enables debugging of TCP packets and outputs debugging information about the TCP packets sent and received by the host. For example, to detect interworking between BGP connections and protocol interworking between MPLS LDP neighbors, run the debugging tcp command.<HUAWEI> debugging tcp event
Aug 25 2011 09:44:49 HUAWEI %%01SOCKET/7/debug_tcp_event(d):CID=0x80652795;
TCP state changed from [CLOSED] to [SYN_SENT]
(Time = 2011-8-25:9:44:49:684 ,Task name = XXXX ,Pid = 0x6503F6, Socket ID = 1)
Item | Description |
---|---|
Socket ID | Socket ID. |
Pid | Path ID. |