Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip host

Printer-Friendly Format

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



Back to commands department




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software