39
Usage Guide:
An instant online help provided by the switch. Help command displays
information about the whole help system, including complete help and partial help. The
user can type in ? any time to get online help.
Example:
Switch>help
enable -- Enable Admin mode
exit -- Exit telnet session
help -- help
show -- Show running system information
2.1.1.11 hostname
Command: hostname <hostname>
Function:
Set the prompt in the switch command line interface.
Parameter
<hostname>
is the string for the prompt, up to 30 characters are allowed.
Command mode:
Global Mode
Default:
The default prompt is ES4700 series.
Usage Guide:
With this command, the user can set the command line prompt of the
switch according to their own requirements.
Example:
Set the prompt to “Test”.
Switch(Config)#hostname Test
2.1.1.12 ip host
Command: ip host <hostname> <ip_addr>
no ip host <hostname>
Function:
Set the mapping relationship between the host and IP address; the “no ip
host” parameter of this command will delete the mapping.
Parameter: <hostname>
is the host name, up to 15 characters are allowed;
<ip_addr>
is the corresponding IP address for the host name, takes a dot decimal format.
Command mode:
Global Mode
Usage Guide:
Set the association between host and IP address, which can be used in
commands like
“ping <host>
“.
Example:
Set IP address of a host with the hostname of “beijing” to 200.121.1.1.
Switch(Config)#ip host beijing 200.121.1.1
2.1.1.13 ipv6 host
Command: ipv6 host <hostname> <ipv6_addr>
no ipv6 host <hostname>
Function:
Configure the mapping relationship between the IPv6 address and the host;