From 8651aed3bd0f17e44d4a7fb486448a9f0526950f Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Wed, 19 May 2021 07:20:55 -0400 Subject: TFTP: verfication help Added verification section so that it will in testing the feature --- docs/configuration/service/tftp-server.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/configuration/service/tftp-server.rst b/docs/configuration/service/tftp-server.rst index d220d789..11011144 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 -- cgit v1.2.3 From 041e8e07a460ed7b9d78fab42115fe5c7a8c9c50 Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Fri, 28 May 2021 12:48:50 -0400 Subject: system:syslog: added delete log file section Added a help section for the "delete log file" command --- docs/configuration/system/syslog.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/configuration/system/syslog.rst b/docs/configuration/system/syslog.rst index a4d641b5..9ba9d415 100644 --- a/docs/configuration/system/syslog.rst +++ b/docs/configuration/system/syslog.rst @@ -26,6 +26,7 @@ Console :ref:`syslog_facilities` keywords and :ref:`syslog_severity_level` keywords see tables below. +.. _custom-file: Custom File ----------- @@ -229,3 +230,16 @@ displayed. .. hint:: Use ``show log | strip-private`` if you want to hide private data when sharing your logs. + +Delete Logs +=========== + +.. opcmd:: delete log file + +Deletes the specified user-defined file in the /var/log/user directory + +Note that deleting the log file does not stop the system from logging events. +If you use this command while the system is logging events, old log events +will be deleted, but events after the delete operation will be recorded in +the new file. To delete the file altogether, first delete logging to the +file using system syslog :ref:`custom-file` command, and then delete the file. -- cgit v1.2.3