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 <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 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 <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 “taiwan” 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;
the “no ipv6 host <hostname>” command deletes this mapping relationship