Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Show hosts command

From NetworkCommands


Image:Cisco-logo-large.gif

A command available on most Cisco platforms; used to display configured hostname to IP address mappings.

Contents

Image:Vm-power-on-medium.png Usage Syntax

show hosts

Image:utilities-terminal-medium.png 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

Image:icemon-medium.png 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.

Image:object-flip-horizontal-medium.png Command Equivalents

The Nokia IPSO command equivalent is the show host command

Image:icemon-medium.png Related Articles

Information on other Cisco commands Image:Cisco-logo-small.png

Information on Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 4 December 2008, at 08:59. - This page has been accessed 52 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki