Show hosts command
From NetworkCommands
A command available on most Cisco platforms; used to display configured hostname to IP address mappings.
Contents |
Usage Syntax
show hosts
Typical Output
router-one#show hosts
Default domain is networkstuff.eu
Name/address lookup uses static mappings
Codes: u - unknown, e - expired, * - OK, ? - revalidate
t - temporary, p - permanent
Host Port Flags Age Type Address(es)
test4 None (perm, OK) 24 IP 1.2.3.201
test3 None (perm, OK) 24 IP 1.2.3.199
test2 None (perm, OK) 24 IP 1.2.3.163
test1 None (perm, OK) 24 IP 1.2.3.112
router2 None (perm, OK) ** IP 1.2.3.229
router1 None (perm, OK) 20 IP 1.2.3.238
Related Commands
Use the ip host command to create, modify or delete host name to IP address mappings.
Use the hostname command to configure the device's own hostname.
Command Equivalents
The Nokia IPSO command equivalent is the show host command
Related Articles
Information on other Cisco commands
Information on Linux commands
Information on F5 BigIP commands
Information on Vyatta commands
Information on Extreme commands
Information on Zebra commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







