Ip host command
From NetworkCommands
A command available on most Cisco platforms; used to create and manage local hostname to IP address mappings.
Contents |
Usage Syntax
Configuration Context: Global
To add a new hostname entry or adjust an existing entry:
ip host host_name ip_address
To add an additional IP address for an existing entry:
ip host host_name additional ip_address
To delete an entry:
no ip host host_name ip_address
Usage Notes
Entering an existing host_name but a different ip_address will simply modify the ip address of the existing entry.
To add additional IP addresses for the same host use the additional keyword, as shown above.
Usage Examples
ip host host1.test.com 1.1.1.1
ip host host1.test.com additional 1.1.1.2
ip host host3.test.com 1.1.1.3
Related Commands
Use the show hosts command to display local hostname to IP address mappings.
Use the hostname command to configure the device's own hostname.
Command Equivalents
The Nokia IPSO command equivalent is the show host command







