1-1
1 IP Address Configuration Commands
IP Address Configuration Commands
display ip host
Syntax
display ip host
View
Any view
Parameters
None
Description
Use the display ip host command to display mappings between host names and IP addresses in the
static DNS database.
Examples
# Display mappings between host names and IP addresses in the static DNS database.
<Sysname> display ip host
Host Age Flags Address
host.com 0 static 192.168.0.38
Table 1-1 Description on the fields of the display ip host command
Field Description
Host Host name
Age
Time to live. 0 means that a static entry is never outdated.
You can only manually remove the mappings between host names and IP
addresses.
Flags
Indicates the type of mappings between host names and IP addresses, static
or dynamic
Static indicates static mapping between host names and IP addresses
Address IP address of a host
display ip interface
Syntax
display ip interface [ interface-type interface-number ]