Utility Commands
595
ProSafe Managed Switch
show hosts
Use this command to display the default domain name, a list of name server hosts, the static
and the cached list of host names and addresses <name> ranges from 1-255 characters.
This command displays both IPv4 and IPv6 entries.
Format show hosts [name]
Mode
Host Name
Default Domain
Default Domain
List
Domain Name
Lookup
Number of
Retries
Retry Timeout
Period
Name Servers
Example: The following shows example CLI display output for the command.
<Switch> show hosts
Host name......................... Device
Default domain.................... gm.com
Default domain list............... yahoo.com, Stanford.edu, rediff.com
Domain Name lookup................ Enabled
Number of retries................. 5
Retry timeout period.............. 1500
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
Host Total Elapsed Type Addresses
--------------- -------- ------ -------- --------------
www.stanford.edu 72 3 IP 171.64.14.203
Packet Capture Commands
Packet capture commands assist in troubleshooting protocol-related problems with the
management CPU. The packets to and from the management CPU can be captured in an
User EXEC
Field Description
Domain host name.
Default domain name.
Default domain list.
DNS client enabled/disabled.
Number of time to retry sending Domain Name System (DNS) queries.
Amount of time to wait for a response to a DNS query.
Configured name servers.