11 hostname, 12 ip host – PLANET WGSW-50040 User Manual
Page 28

1.1.11 hostname
Command:
hostname
no hostname
Function:
Set the prompt in the switch command line interface. The no operation cancels the configuration.
Parameter:
Command mode:
Global Mode
Default:
The default prompt is relatived 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.12 ip host
Command:
ip host
no ip host {
Function:
Set the mapping relationship between the host and IP address; the “no ip host” parameter of this
command will delete the mapping.
Parameter:
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