“IP HOST” – USEFUL COMMAND IN CISCO DEVICES

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 –

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
Please follow and like us:

Related Post

Add Comment

Social Media Auto Publish Powered By : XYZScripts.com
Select your currency