Networking · IP Fundamentals
TCP
Cheat sheet · https://pcornel.dk/topic.php?topic=560
Answer
TCP provides connection-oriented, sequenced and acknowledged byte-stream delivery with retransmission, flow control and congestion behavior.
Remember
- SYN, SYN-ACK, ACK establish a connection
- Sequence and acknowledgement numbers track bytes
- Receive windows provide flow control; retransmission handles loss
- A completed handshake proves a transport endpoint, not application correctness.
First checks
show tcp brief— TCP sessions on the device- Client: ss -tn / Get-NetTCPConnection — sessions
Test-NetConnection <host> -Port <port>— handshake test
Commands
show tcp brief all- Inspect local TCP endpoints and states.
ip tcp adjust-mss
Verify in this order
SYN → SYN-ACK → ACK → data with ACKs → FIN
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
TCP · technical reference
| TCP evidence | Meaning |
|---|---|
| SYN/SYN-ACK/ACK | Connection establishment |
| Established | Transport state exists |
| Retransmissions | Data/ACK not confirmed in time |
| FIN / RST | Graceful close / abort |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=560