11 hostname, 12 ip host, 13 ipv6 host – Accton Technology ES4626 User Manual
Page 38

38
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
Function:
Set the prompt in the switch command line interface.
Parameter
Command mode:
Global Mode
Default:
The default prompt is ES4624-SFP/ES4626-SFP switch.
Usage Guide:
With this command, the user can set the CLI prompt of the switch
according to their own requirements.
Example:
Set the prompt to “Test”.
Switch(Config)#hostname Test
Test(Config)#
2.1.1.12 ip host
Command: ip host
no ip host
Function:
Set the mapping relationship between the host and IP address; the “no ip
host” parameter of this command will delete the mapping.
Parameter:
is the host name, up to 15 characters are allowed;
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
Example:
Set IP address of a host with the hostname of “taiwan” to 200.121.1.1.
Switch(Config)#ip host beijing 200.121.1.1
2.1.1.13 ipv6 host
Command: ipv6 host
no ipv6 host
Function:
Configure the mapping relationship between the IPv6 address and the host;
the “no ipv6 host