hostname 
Description 
The hostname command is used to configure the system name. To clear the 
system name information, please use no hostname command. 
Syntax 
hostname hostname   
no hostname   
Parameter 
hostname  ——  System Name. The length of the name ranges from 1 to 32 
characters. By default, it is the device name, for example “TL-SG2424”. 
Command Mode 
Global Configuration Mode 
Example 
Configure the system name as TPLINK: 
TL-SG2424(config)# hostname TPLINK 
location 
Description 
The location command is used to configure the system location. To clear the 
system location information, please use no location command. 
Syntax 
location location 
no location   
Parameter 
location  ——  Device Location. It consists of 32 characters at most. It is 
“SHENZHEN” by default. 
Command Mode 
Global Configuration Mode 
Example 
Configure the system location as SHENZHEN: 
TL-SG2424(config)# location SHENSHEN 
71