Basic Router Configuration


When you turn on the router, it will enter on its boot process. Afterwards,
initial configuration setup will prompt. Enter your answer "no"
since we will configure the router manually.
Enter the following commands.

Router>
Router>enable
Router#
Router#conf t
Router(config)#no logging console
Router(config)#no ip domain lookup
Router(config)#no service config
Router(config)#service password-encryption
Router(config)#enable secret cisco

Restrict access to router via console.
Router(config)#line console 0
Router(config-line)#password cisco1
Router(config-line)#login
Router(config-line)#exec-timeout 5
Router(config-line)#logging synchronous
Router(config-line)#exit

Restrict access to router via telnet.
Router(config)#line vty 0 4
Router(config-line)#password cisco1
Router(config-line)#login
Router(config-line)#exec-timeout 5
Router(config-line)#logging synchronous
Router(config-line)#end
Router#copy run start



Note: Router modes.
Router> (User-mode prompt)
Router# (Priveleged-mode prompt)
Router(config)# (Global configuration mode)
Router(config-if)# (Interface mode)

0 Comments:

Post a Comment