beautypg.com

9 hostname, 10 reload, 11 set default – Accton Technology ES4710BD User Manual

Page 97

background image

96

E

ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Parameters: is the host name, up to 15 characters are allowed; is the

corresponding IP address for the host name and takes a decimal format.

Command mode: Global Mode

Usage Guide: Sets the association between host and IP address, which can be used in commands

like “ping ”.

Example: Setting the IP address of a host with the hostname of “ES4710BD” to 200.121.1.1.

Switch(Config)#ip host ES4710BD 200.121.1.1

Related commands: telnet, ping, traceroute

5.1.9 hostname

Command: hostname

Function: Sets the prompt in the switch command line interface.

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

Command mode: Global Mode

Default: The default prompt is ES4710BD.

Usage Guide: With this command, the user can set the command line prompt of the switch

according to their own requirements.

Example: Setting the prompt to “Test”.

Switch(Config)#hostname Test

Test(Config)#

5.1.10 reload

Command: reload

Function: Warm resets the switch.

Command mode: Admin Mode

Usage Guide: The user can use this command to restart the switch without power off .

5.1.11 set default

Command: set default

Function: Resets the switch to factory settings.

Command mode: Admin Mode

Usage Guide: Resets the switch to factory settings. That is to say, all configurations made by the

user to the switch will disappear. When the switch is restarted, the prompt will be the same as when

the switch was powered on for the first time.

Note: After use of this command, “write” command must be executed in order to save the operation.

The switch will reset to factory settings after restart.

Example:

Switch#set default

Are you sure? [Y/N] = y

Switch#write