Command Line Interface Reference Guide HP BladeSystem PC Blade Switch
HP PC Blade Switch CLI Reference Guide www.hp.com 11-15
IP Addressing Commands
show hosts
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
n name — Specifies the host name. (Range: 1-158 characters)
Default Setting
This command has no default configuration.
Command Mode
Privileged EXEC mode
Command Usage
There are no user guidelines for this command.
Example
The following command 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
Configured host name-to-address mapping:
Host Addresses
---- ---------
accounting.gm.com 176.16.8.8 176.16.8.9 (DHCP)
Cache: TTL (Hours)
Host Total Elapsed Type Addresses
---- ----- ------- ------ ---------
www.stanford.edu 72 3 IP 171.64.14.203










