Example
Figure 12-3. show hosts Command Example
Table 12-1. show hosts Command Example Fields
Field
Default domain...
Name/address lookup...
Name servers are...
Host
Flags
TTL
Type
Address
show arp
Displays the ARP table.
Syntax
show arp [ interface interface | ip ip-address [ mask ] | macaddress mac-address [ mac-address
mask
FTOS#show hosts
Default domain is not set
Name/address lookup uses static mappings
Name servers are not set
Host
--------
ks
4200-1
1230-3
ZZr
Z10-3
FTOS#
Description
Displays the domain name (if configured).
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.
Lists the name servers, if configured.
Displays the host name assigned to the IP address.
Classifies the entry as one of the following:
•
•
Also included in the flag is an indication of the validity of the route:
•
•
•
Displays the amount of time until the entry ages out of the cache. For dynamically
learnt entries only.
Displays IP as the type of entry.
Displays the IP address(es) assigned to the host.
]] [ static | dynamic ] [ summary ]
Flags
TTL
Type
-----
----
----
(perm, OK) -
IP
(perm, OK) -
IP
(perm, OK) -
IP
(perm, OK) -
IP
(perm, OK) -
IP
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.
ok - the entry is valid.
ex - the entry expired.
?? - the entry is suspect.
Address
-------
2.2.2.2
192.68.69.2
192.68.99.2
192.71.18.2
192.71.23.1
IPv4 Routing | 165