IP Address Commands
show hosts
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 224
15
The show hosts Privileged EXEC mode command displays the default domain
name, a list of name server hosts, the static and the cached list of host names and
addresses.
Syntax
show hosts [
name
]
Parameters
•
name
— Specifies the host name. (Range: 1-158 characters)
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example displays host information.
Console# show hosts
System name: Device
Default domain is gm.com, sales.gm.com, usa.sales.gm.com(DHCP)
Name/address lookup is enabled
Name servers (Preference order): 176.16.1.18 176.16.1.19