This Configuration mainly focused on IOS 3600 software version 12.2 but it may applies to other version.
Router>enable
Router#config t
Changing Hostname
Router(config)#hostname RouterA
Setting System Clock
RouterA# clock set 12:30:00 10 Dec 2000
Setting the Banner
RouterA(config)# banner motd #Welcome#
Setting Privileged Access Password
RouterA(config)#enable password mypassword
or
With username
RouterA(config)#username user1 password mypassword
RouterA(config)#enable secret mypassword2
Console Password
RouterA(config)# line console 0
RouterA(config-line)# password mypassword
VTY Lines Password
Router(config)# line vty 0 4
Router(config-line)# password mypassword
Router(config-line)# login local (If you use username ing ptivileged access password)
or
(Optional) with Telnet Access List
RouterA(config)# access-list 99 permit 192.168.1.0 0.0.0.255
RouterA(config)# line vty 0 4
RouterA(config-line)# password mypassword
RouterA(config-line)# access-class 99 in
Router(config-line)# login local (If you use username in ptivileged access password)
Setting the Description for an Interface
RouterA(config)# interface serial 0
RouterA(config-if)# description To Mynetwork
Assigning IP Address for an Interface
RouterA(config)# interface serial 0
RouterA(config-if)# ip address 192.168.0.1 255.255.255.0
RouterA(config-if)no shut
Wednesday, February 13, 2008
Basic Router Configuration
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment