Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

show hosts

View the host table and DNS configuration.

Syntax
show hosts
Command Modes
  • EXEC
  • EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
9.0.0.0
Added support for IPv6 addresses.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
pre-6.1.1.0
Introduced on the E-Series.
Usage Information
The following describes the show hosts command in the following example.
Field
Description
Default domain...
Displays the domain name (if configured).
Name/address lookup...
States if DNS is enabled on the system.
  • If DNS is enabled, the Name/Address lookup is domain service.
  • If DNS is not enabled, the Name/Address lookup is static mapping
Name servers are...
Lists the name servers, if configured.
Host
Displays the host name assigned to the IP address.
Flags
Classifies the entry as one of the following:
  • perm — the entry was manually configured and will not time out
  • temp — the entry was learned and will time out after 72 hours of inactivity.
Also included in the flag is an indication of the validity of the route:
  • ok — the entry is valid.
  • ex — the entry expired.
  • ?? — the entry is suspect.
TTL
Displays the amount of time until the entry ages out of the cache. For dynamically learned entries only.
Type
Displays IP as the type of entry.
Address
Displays the IP addresses assigned to the host.
Example
DellEMC# show hosts
Default domain is not set
Name/address lookup uses static mappings
Name servers are not set
Host     Flags     TTL   Type   Address
-------- -----     ----  ----   -------
ks      (perm, OK) -     IP     2.2.2.2
4200-1  (perm, OK) -     IP     192.68.69.2
1230-3  (perm, OK) -     IP     192.68.99.2
ZZr     (perm, OK) -     IP     192.71.18.2
Z10-3   (perm, OK) -     IP     192.71.23.1
DellEMC#
Related Commands

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\