Command
IP Host
Use
Allows you to set DNS names for devices on your network.
Syntax
Router(config)#ip host <name> <ip address>
Example
In the below example R1 is configured to be able to ping R2 and R3
R1(config)#ip host R2 2.2.2.2 R1(config)#ip host R3 3.3.3.3 R1(config)#do ping R2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/47/108 ms R1(config)#do ping R3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/52/104 ms
thanks. I wanted to be sure I had it right.