“Cisco IP Host” – Useful Command in Cisco Devices

Rashmi Bhardwaj | Blog,Protocol,Routing & Switching
Google ADs

Cisco IP Host

Network administrators find it hard to find IP of each Cisco device in a large networking environment and telnet each device based on IP address. Remembering every device’s IP address in itself can be a hard task to do. ‘IP host’ command in Cisco IOS is feature to support such requirement, where each device in the network may be given a name Let’s say R1 , R2etc. instead of being remembered by an IP address.

Once defined we can now connect to each device on your network via telnet by just using the host name defined which is further linked to an IP address.

Below is sample configuration on cisco Router configuration where 3 routers have been given hostnames R2, R3 and R4respectively with the ‘ip host’ command –

Google ADs

R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip host R2 192.168.2.1
R1(config)#ip host R3 192.168.3.2
R1(config)#ip host R4 192.168.4.1

 

Related – Cisco Express Forwarding Guide

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart