m (Shin moved page CLI - Configuring hostname to CLI - Configuring Hostname) |
|||
Line 1: | Line 1: | ||
− | + | The Hostname is changed in the configuration mode. | |
<pre> | <pre> | ||
LYSH@MyHostName# configure | LYSH@MyHostName# configure | ||
Line 11: | Line 11: | ||
-h, --help show this help message and exit | -h, --help show this help message and exit | ||
</pre> | </pre> | ||
− | + | ||
− | + | Example: | |
+ | <pre> | ||
+ | LYSH@MyHostName# configure | ||
+ | configure# hostname set MyHostName | ||
+ | configure# exit | ||
+ | LYSH@MyHostName# show system // The hostname is shown in the "System name" | ||
+ | </pre> |
Revision as of 18:39, 15 April 2021
The Hostname is changed in the configuration mode.
LYSH@MyHostName# configure configure# hostname set -h usage: hostname set [-h] name positional arguments: name hostname optional arguments: -h, --help show this help message and exit
Example:
LYSH@MyHostName# configure configure# hostname set MyHostName configure# exit LYSH@MyHostName# show system // The hostname is shown in the "System name"