.. 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:: domainname DOMAINNAME
+
+ Set domainname of the router.
+
.. clicmd:: password PASSWORD
Set password for vty interface. The ``no`` form of the command deletes the