16 ip host, 17 ipv6 host, 16 ip host -58 – PLANET XGS3-24042 User Manual
Page 58: 17 ipv6 host -58

XGS3 Command Guide
1-58
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)#
1.1.16 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:
all is all of the host name.
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 “beijing” to 200.121.1.1.
Switch(config)#ip host beijing 200.121.1.1
Command related:
telnet, ping, traceroute
1.1.17 ipv6 host
Command:
ipv6 host
no ipv6 host {
Function:
Configure the mapping relationship between the IPv6 address and the host; the “no ipv6 host
command deletes this mapping relationship.
Parameter: