Basic Configuration on Cisco

It’s important to configure basic configuration to your network devices before you go to some advance stuffs. It’s not only for ease of control and management your network but also for basic security. Let me list down things that are included in the basic configuration.

  • Hostname
  • Put password for Privileged EXEC
  • Put password for line VTY
  • Put password for line console
  • Configure an IP address for interfaces
  • ……

Below are some example basic configuration that you can use.

Router>en
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname iNET9-R1
iNET9-R1(config)#enable secret inet9enablepass
iNET9-R1(config)#line console 0
iNET9-R1(config-line)#password inet9consolepass
iNET9-R1(config-line)#login
iNET9-R1(config-line)#line vty 0 4
iNET9-R1(config-line)#password inet9telnetpass
iNET9-R1(config-line)#login
iNET9-R1(config-line)#interface fa0/0
iNET9-R1(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
iNET9-R1(config-if)#ip address 10.0.0.1 255.255.255.252
iNET9-R1(config-if)#interface fa0/1
iNET9-R1(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
iNET9-R1(config-if)#ip address 192.168.0.1 255.255.255.0
iNET9-R1(config-if)#
iNET9-R1#
%SYS-5-CONFIG_I: Configured from console by console
iNET9-R1#copy run start
Destination filename [startup-config]?
Building configuration… [OK]
iNET9-R1#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 2/3/5 ms
iNET9-R1#

Test telnet from a PC.

PC>telnet 192.168.0.1
Trying 192.168.0.1 …Open

User Access Verification

Password: inet9telnetpass

iNET9-R1>

That’s it for basic configuration on Cisco IOS. Let us know in the comment box below.

Leave a Reply

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