Show Hosts Command on CISCO Router/Switch

Command

Show Hosts

Use

This command displays information about the hosts that are configured with the ip hostcommand.

Syntax

Router#show hosts

Example

Show Hosts Command on CISCO Router/Switch 1

In the below example we use show hosts to verify the hosts that are configured on R2.

R2#show host
Default domain is not set
Name/address lookup uses domain service
Name servers are 255.255.255.255

Codes: UN – unknown, EX – expired, OK – OK, ?? – revalidate
temp – temporary, perm – permanent
NA – Not Applicable None – Not defined

Host Port Flags Age Type Address(es)
R1 None (perm, OK) 0 IP 1.1.1.1
R3 None (perm, OK) 0 IP 3.3.3.3
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x