IOS Host Table (ip host)
Also: ip host tableip hostshow hosts
The ip host command adds static hostname-to-IP mappings to a Cisco device's host table, like a hosts file. show hosts displays both static entries and names learned by DNS.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab2
- Day 38 Lab DNS
IOS Host Table (ip host)A Cisco device can resolve names locally with static entries created by ip host NAME IP-ADDRESS, viewed with show hosts. With ip dns server enabled, the router can answer other devices' DNS queries from this table.
14:12Configure Router1 with two host table entries, Router1 and Switch1. Okay the command is IP HOST, 10.0., or sorry IP HOST, the hostname's first, and then the IP address., 10.0.0.1.
Said 7× - Day 38 DNS
24:38Here are the commands. Pause the video to think about the answer. The answer is A, SHOW HOSTS.
Said 4×
Related terms
Flashcards that test it
Jeremy's IT LabHow do you add a static entry mapping PC1 to 192.168.0.101 in a router's host table?
ip host PC1 192.168.0.101
Jeremy's IT LabWhich IOS command shows the host table, and how are static and DNS-learned entries marked?
show hosts. Manually configured entries are 'perm' and entries learned via DNS are 'temp'.
Jeremy's IT LabWhat is the syntax to add a static host table entry mapping PC1 to 192.168.0.1 on a Cisco router?
ip host PC1 192.168.0.1 (hostname first, then the IP address)
Jeremy's IT LabWhich command displays a Cisco router's host table?
show hosts