DCS-3950 series Ethernet switch manual
5.1.6 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: Maps between hostname and ip address can be set through this command,
for operations such as 'ping <host>'.
Example: Set 200.121.1.1 as the ip address of a host named beijing:
Switch(Config)#ip host beijing 200.121.1.1
Relative command: telnet、ping、traceroute
5.1.7 ip http server
Command: ip http server
no ip http server
Function: Enable the Web configuration; the 'no no ip http server' command is used to
disable the Web configuration.
Command mode: Global Mode.
Usage Guide: Web interface can be a choice to configure the switch through this
command. Its simple, easy to use and easy to understand. This command has the same
effect as choosing option 2 in the Setup configuration mode.
Example: Enable the web configuration interface:
Switch(Config)#ip http server
Relative Command: web-user.
5.1.8 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 related to DCS-3950 series switch type.
Usage Guide: Shell prompt can be changed and customized through this command.
Example: Customize the promption as Test:
Switch(Config)#hostname Test
Test(config)#
41