diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-04-14 15:59:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 15:59:09 +0200 |
commit | 1ff339ac05e94d3db4f13cce439152e403728478 (patch) | |
tree | 5186e95bea1eab3ec0c03ad93c3e55c7757b7f27 /doc | |
parent | Merge pull request #8320 from idryzhov/prefix-list-seqnum (diff) | |
parent | doc: Add an option for vtysh to override history file path (diff) | |
download | frr-1ff339ac05e94d3db4f13cce439152e403728478.tar.xz frr-1ff339ac05e94d3db4f13cce439152e403728478.zip |
Merge pull request #8450 from ton31337/feature/frr_history_turn_on_off
vtysh: Set history file on demand
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manpages/vtysh.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manpages/vtysh.rst b/doc/manpages/vtysh.rst index 3e496956c..b930cb915 100644 --- a/doc/manpages/vtysh.rst +++ b/doc/manpages/vtysh.rst @@ -53,6 +53,10 @@ OPTIONS available for the vtysh command: When executing cli that does not invoke a vtysh shell, if an error ocurrs ignore it for purposes of return codes from vtysh. +.. option:: -H, --histfile + + Override the history file for vtysh commands. You can set ``vtysh -H /dev/null`` to turn logging of at all. + .. option:: -u, --user Restrict access to configuration commands by preventing use of the "enable" command. This option provides the same limited "security" as password-protected telnet access. *This security should not be relied on in production environments.* @@ -68,6 +72,10 @@ ENVIRONMENT VARIABLES VTYSH_PAGER This should be the name of the pager to use. Default is more. +VTYSH_HISTFILE + Override the history file for vtysh commands. Logging can be turned off using ``VTYSH_HISTFILE=/dev/null vtysh``. + Environment is prefered way to override the history file path over command line argument (-H/--histfile). + FILES ===== |INSTALL_PREFIX_SBIN|/vtysh |