display tcp verbose
Use display tcp verbose to display detailed information about TCP connections.
Syntax
display tcp verbose [ slot slot-number [ pcb pcb-index ] ]
display tcp verbose [ chassis chassis-number slot slot-number [ pcb pcb-index ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
pcb pcb-index: Displays detailed TCP connection information for the specified PCB. The value range for the pcb-index argument is 1 to 16.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays detailed information about TCP connections for all cards.
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays detailed information about TCP connections for all cards.
Usage guidelines
The detailed TCP connection information includes socket creator, state, option, type, protocol number, source IP address and port number, destination IP address and port number, and connection state.
Examples
# Display detailed information about TCP connections.
<Sysname> display tcp verbose TCP inpcb number: 1(tcpcb number: 1) Location: slot: 6 cpu: 0 NSR standby: N/A Creator: bgpd[199] State: ISCONNECTED Options: N/A Error: 0 Receiving buffer(cc/hiwat/lowat/state): 0 / 65700 / 1 / N/A Sending buffer(cc/hiwat/lowat/state): 0 / 65700 / 512 / N/A Type: 1 Protocol: 6 Connection info: src = 192.168.20.200:179 , dst = 192.168.20.14:4181 Inpcb flags: N/A Inpcb extflag: N/A Inpcb vflag: INP_IPV4 TTL: 255(minimum TTL: 0) Connection state: ESTABLISHED TCP options: TF_REQ_SCALE TF_REQ_TSTMP TF_SACK_PERMIT TF_NSR NSR state: READY(M) Send VRF: 0x0 Receive VRF: 0x0
Table 39: Command output
Field | Description |
---|---|
TCP inpcb number | Number of TCP IP PCBs. |
tcpcb number | Number of TCP PCBs. This field is not displayed if the state of the TCP connection is TIME_WAIT. |
Creator | Name of the operation that created the socket. The number in brackets is the process number of the creator. |
State | State of the socket. |
Options | Socket options. |
Error | Error code. |
Receiving buffer (cc/hiwat/lowat/state) | Displays receive buffer information in the following order:
|
Sending buffer (cc/hiwat/lowat/state) | Displays send buffer information in the following order:
|
Type | Socket type:
|
Protocol | Number of the protocol using the socket. |
Connection info | Source IP address and port number, and destination IP address and port number. |
Inpcb flags | Flags in the Internet PCB:
|
Inpcb extflag | Extension flags in the Internet PCB:
|
Inpcb vflag | IP version flags in the Internet PCB:
|
TTL | TTL value in the Internet PCB. |
TCP options | TCP options:
|
NSR state | State of the TCP connections. Between the parentheses is the role of the connection:
|
Send VRF | VRF from which packets are sent. |
Receive VRF | VRF from which packets are received. |