summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrividya0208 <68350089+srividya0208@users.noreply.github.com>2021-05-20 00:35:02 +0530
committerChristian Poessinger <christian@poessinger.com>2021-05-19 21:09:38 +0200
commitb246afed00830bdfcecf57398ceb91e79fb7157a (patch)
treed1ba6342a7e42f491c7c1d5fd4ddd16dede135e2
parente76616e44d49cc26b05fa21aa9a70f4a4051107b (diff)
downloadvyos-documentation-b246afed00830bdfcecf57398ceb91e79fb7157a.tar.gz
vyos-documentation-b246afed00830bdfcecf57398ceb91e79fb7157a.zip
tftp: add verification help/example
Added verification section so that it will in testing the feature (cherry picked from commit b13fd424a155ab09904cdbab45051a77adf1e6a1)
-rw-r--r--docs/configuration/service/tftp-server.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/configuration/service/tftp-server.rst b/docs/configuration/service/tftp-server.rst
index 276ce5fb..35b5fd40 100644
--- a/docs/configuration/service/tftp-server.rst
+++ b/docs/configuration/service/tftp-server.rst
@@ -52,3 +52,21 @@ The resulting configuration will look like:
listen-address 2001:db8::1
listen-address 192.0.2.1
}
+
+Verification
+------------
+
+Client:
+
+.. code-block:: none
+
+ vyos@RTR2:~$ tftp -p -l /config/config.boot -r backup 192.0.2.1
+ backup1 100% |******************************| 723 0:00:00 ETA
+
+Server:
+
+.. code-block:: none
+
+ vyos@RTR1# ls -ltr /config/tftpboot/
+ total 1
+ -rw-rw-rw- 1 tftp tftp 1995 May 19 16:02 backup