“Cisco IP Host” – Useful Command in Cisco Devices

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.

Advertisements

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

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

Share this:
Advertisements

Related Posts

About The Author

Add Comment

Social Media Auto Publish Powered By : XYZScripts.com
Select your currency
USD United States (US) dollar