beautypg.com

15 ipv6 host, 16 ip http server – PLANET XGS3-24040 User Manual

Page 49

background image

XGS3 Command Guide

1-49

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; 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.15 ipv6 host

Command:

ipv6 host

no ipv6 host {|all}

Function:

Configure the mapping relationship between the IPv6 address and the host; the “no ipv6 host

command deletes this mapping relationship.

Parameter:

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

to the host name. 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

1.1.16 ip http server

Command:

ip http server

no ip http server

Function:

Enable Web configuration; the “no ip http server” command disables Web configuration

Command mode:

Global mode