Command Manual – Network Protocol 
Quidway S8500 Series Routing Switches  Chapter 6  DNS Configuration Commands
 
Huawei Technologies Proprietary 
6-1 
Chapter 6  DNS Configuration Commands  
6.1  Static DNS Configuration Commands 
6.1.1  ip host 
Syntax 
ip host hostname ip-address 
undo ip host hostname [ ip-address ]  
View 
System view 
Parameter 
hostname: Name of the host. It is a character string that consists of 1 to 20 characters, 
including letters, numbers, "_" or “,”, and it must contain at least one letter. 
ip-address: Host IP address (the corresponding IP address to the host name) in dotted 
decimal notation. 
Description 
Use the ip host command to configure the host name and the host IP address. 
Use the undo ip host command to cancel the host name and the host IP address.  
By default, Host name and corresponding IP address are null. 
Related command: display ip host. 
Example 
# Set swtich1’s IP address to be 10.110.0.1. 
[Quidway] ip host switch1 10.110.0.1 
6.1.2  display ip host 
Syntax 
display ip host 
View 
Any view