Difference between revisions of "CLI - Hostname"

Line 1: Line 1:
호스트 이름 설정은 configure 명령어에서 설정할 수 있습니다.
+
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>
=== Basic Commands ===
+
 
* <code>configure# hostname set MyHostName</code> 호스트 이름을 설정합니다.
+
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"