summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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