summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authoranlancs <anlan_cs@tom.com>2021-06-10 03:36:19 +0200
committeranlancs <anlan_cs@tom.com>2021-06-10 04:40:28 +0200
commit8f58056c0ee35729a31f5f9bd0efea3930aae897 (patch)
tree127f2b825fd1479bc71cb1dd82c966e1dfd3be48 /doc/user
parentMerge pull request #8798 from opensourcerouting/ospfd-fixes (diff)
downloadfrr-8f58056c0ee35729a31f5f9bd0efea3930aae897.tar.xz
frr-8f58056c0ee35729a31f5f9bd0efea3930aae897.zip
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 <anlan_cs@tom.com>
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/basic.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/user/basic.rst b/doc/user/basic.rst
index 2def835f0..3e85a0817 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