mac

Commands for Basic Switch Configuration
41
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 <hostname> <ipv6_addr>
no ipv6 host { <hostname> | all}
Function: Configure the mapping relationship between the IPv6 address and the host;
the no command deletes this mapping relationship.
Parameter: <hostname> is the name of the host, containing max 64 characters;
<ipv6_addr> 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 <host>, 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.18 ip http server
Command: ip http server
no ip http server
Function: Enable Web configuration; the no ip http servercommand disables Web
configuration
Command mode: Global mode
Usage guide: Web configuration is for supplying an interface configured with HTTP for
the user, which is straight and visual, easy to understand.
Example: Enable Web Server function and enable Web configurations.
Switch(config)#ip http server
1.1.19 language
Command: language {chinese | english}
Function: Set the language for displaying the help information.
Parameter: chinese for Chinese display; english for English display.