C
OMMAND
L
INE
I
NTERFACE
4-164
Related Commands
ip domain-name (4-159)
ip name-server (4-162)
show hosts
This command displays the static host name-to-address mapping table.
Command Mode
Privileged Exec
Example
Note that a host name will be displayed as an alias if it is mapped to the
same address(es) as a previously configured entry.
Console#show hosts
Hostname
rd5
Inet address
10.1.0.55 192.168.1.55
Alias
Console#