Viewing TCP and UDP information
Use this procedure to view TCP and UDP configuration information for IPv4.
Procedure
Example
Switch:1#show ip tcp connections ========================================================================================== TCP connection table info ========================================================================================== LOCALPORT LOCALADDR REMOTEPORT REMOTEADDR STATE VRF ID ------------------------------------------------------------------------------------------ 21 0.0.0.0 0 0.0.0.0 listen 0 22 0.0.0.0 0 0.0.0.0 listen 0 23 0.0.0.0 0 0.0.0.0 listen 0 80 0.0.0.0 0 0.0.0.0 listen 0 443 0.0.0.0 0 0.0.0.0 listen 0 23 192.0.2.146 52583 198.51.100.30 established 0
Switch:1#show ip tcp properties show ip tcp global properties command: ------------------ RtoAlgorithm constant RtoMin 5002 milliseconds RtoMax 60128 milliseconds MaxConn 127
Switch:1#show ip tcp statistics show ip tcp global statistics: ------------------ ActiveOpens: 0 PassiveOpens: 37 AttemptFails: 0 EstabResets: 34 CurrEstab: 1 InSegs: 6726 OutSegs: 7267 RetransSegs: 10 InErrs: 0 OutRsts: 10
Switch:1#show ip udp endpoints ======================================================================================= UDP endpoint table info ======================================================================================= --------------------------------------------------------------------------------------- LOCALPORT LOCALADDRESS REMOTEPORT REMOTEADDRESS PROCESS INSTANCE 26 0.0.0.0 0 0.0.0.0 1 0 67 0.0.0.0 0 0.0.0.0 1 0 69 0.0.0.0 0 0.0.0.0 1 0 161 0.0.0.0 0 0.0.0.0 1 0
Switch:1#show ip udp statistics show ip udp info: --------------------------------------------------------------------------------------- InDatagrams: 887 NoPorts: 0 InErrors: 0 OutDatagrams: 887 HCInDatagrams: 887 HCOutDatagrams: 887
Variable definitions
Use the data in the following table to use the show ip tcp command.
Variable |
Value |
---|---|
connections |
Specifies the TCP connection information. Use the following parameters:
Example: show ip tcp connections vrf 0 |
properties |
Specifies the TCP global properties information. |
statistics |
Specifies the TCP global statistics. |
Variable |
Value |
---|---|
endpoints |
Specifies the IP UDP endpoint information. |
statistics |
Specifies IP UDP statistics information. |