beautypg.com

16 ip host, 16 ip host -48 – PLANET WGSW-52040 User Manual

Page 49

background image

1-48

no hostname

Function:

Set the prompt in the switch command line interface. The no operation cancels the configuration.

Parameter:

is the string for the prompt, up to 64 characters are allowed.

Command mode:

Global Mode

Default:

The default prompt is relative with the switch.

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

Function:

Set the mapping relationship between the host and IP address; the “no ip host” parameter of this command will

delete the mapping.

Parameter:

is the host name, up to 64 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: