beautypg.com

17 ipv6 host, 17 ipv6 host -49 – PLANET WGSW-52040 User Manual

Page 50

background image

1-49

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 { | all}

Function:

Configure the mapping relationship between the IPv6 address and the host; the no command deletes this mapping

relationship.

Parameter:

is the name of the host, containing max 64 characters; is the IPv6 address

corresponding to the host name. all is all the host address.

Command Mode:

Global Mode

Usage Guide:

Configure a fixed corresponding relationship between the host and the IPv6 address, applicable in commands such

as traceroute6 , etc.

Example:

Set the IPv6 address of the host named beijing to 2001:1:2:3::1.

Switch(config)#ipv6 host beijing 2001:1:2:3::1

Command related: ping6, traceroute6