From 8f58056c0ee35729a31f5f9bd0efea3930aae897 Mon Sep 17 00:00:00 2001 From: anlancs Date: Thu, 10 Jun 2021 09:36:19 +0800 Subject: [PATCH] doc: add a note of hostname/domainname for vtysh These names are saved in current vtysh's memory, can't and needn't be saved into configure file by watchfrr's 'vtysh -w`. Signed-off-by: anlancs --- doc/user/basic.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/user/basic.rst b/doc/user/basic.rst index 2def835f0b..3e85a08179 100644 --- a/doc/user/basic.rst +++ b/doc/user/basic.rst @@ -58,7 +58,13 @@ Basic Config Commands .. clicmd:: hostname HOSTNAME - Set hostname of the router. + Set hostname of the router. It is only for current ``vtysh``, it will not be + saved to any configuration file even with ``write file``. + +.. clicmd:: domainname DOMAINNAME + + Set domainname of the router. It is only for current ``vtysh``, it will not + be saved to any configuration file even with ``write file``. .. clicmd:: password PASSWORD -- 2.39.5