summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoranderbak <bjanderson7583@gmail.com>2026-05-04 17:01:10 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2026-05-10 11:37:05 +0000
commit46c4d63f10b7fc3db777bb3cefde4553a1235834 (patch)
tree78daccf1b7dea6b250c17745863a619fe5b13bcb /docs
parent2e9cc677e63a89a14e1e61a3e6d7b33925ca5c44 (diff)
downloadvyos-documentation-46c4d63f10b7fc3db777bb3cefde4553a1235834.tar.gz
vyos-documentation-46c4d63f10b7fc3db777bb3cefde4553a1235834.zip
troubleshooting: T8608: document TCP ping
(cherry picked from commit 7ae07ade76ec4bb1137553a055419e3955f30618)
Diffstat (limited to 'docs')
-rw-r--r--docs/troubleshooting/connectivity.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/troubleshooting/connectivity.md b/docs/troubleshooting/connectivity.md
index a3c95d8c..31320573 100644
--- a/docs/troubleshooting/connectivity.md
+++ b/docs/troubleshooting/connectivity.md
@@ -41,6 +41,25 @@ vrf
:::
```
+```{opcmd} ping tcp \<host\> port \<port\> [count \<n\>] [interface \<ifname\>] [vrf \<name\>] [source-address \<address\>]
+
+Test TCP connectivity to a destination host and port. This is useful when
+ICMP is blocked or when you need to verify that a specific TCP service is
+reachable.
+
+The `count` option sets the number of TCP connection attempts. Use
+`interface` to send probes through a specific interface, `vrf` to run
+the test in a VRF, and `source-address` to select the local source address.
+
+Example:
+
+:::{code-block} none
+vyos@vyos:~$ ping tcp 10.1.1.1 port 443 count 3
+vyos@vyos:~$ ping tcp example.com port 80 interface eth0
+vyos@vyos:~$ ping tcp 192.0.2.10 port 179 vrf CUSTOMER source-address 192.0.2.1
+:::
+```
+
```{opcmd} traceroute \<destination\>
Trace path to target.