Anda di halaman 1dari 2

1

IIHT Ltd.
Bapu Nagar, Jaipur Ph:0141-5540910

CISCO CERTIFIED NETWORK ASSOCIATE (CCNA)

LAB – 1

BASIC ROUTER CONFIGURATIONS.

C:\ping 172.16.0.1 (Checking connectivity to access router).


C:\telnet 172.16.0.1
Pwd: access
ACCESS>enable
Pwd:networkz
ACCESS#(TYPE NAME OF ROUTER ASSIGNED)

SHOW COMMANDS
Router>enable
Router#show version
Router#show flash
Router#show ip interface brief
Router#show run (RAM Contents)
Router#show start (NVRAM Contents)
Router#show clock
Router#show history
Router#show interface Ethernet 0

BASIC COMMANDS
Router#clock set 10:10:20 december 12 1980
Router#configure terminal
Router(config)#hostname Rxx

INTERFACE CONFIGURATION
Router#Configure terminal
Router(config)#interface serial 0
Router(config)#ip address 10.1.1.1 255.0.0.0
Router(config)#no shutdown
Router(config)#interface Ethernet 0
Router(config)#ip address 172.16.0.X 255.255.255.0
Router(config)#no shutdown

Created by Jitendra Jakhar


2

SECURING ROUTER
Router(config)#line console 0
Router(config)#password iiht
Router(config)#login (To instruct the router to issue pwd prompt to users)
Router(config)#line aux 0
Router(config)#password ccna
Router(config)#login
Router(config)#line vty 0 4 (Router supports 5 telnet sessions and same pwd for all 5)
Router(config)#password cisco
Router(config)#login
Router(config)#service password-encryption (To encrypt all pwd in router’s configurations)
Router(config)#enable password cisco (Password not encrypted )
Router(config)#enable secret ccna (To encrypt enable pwd )

BACKING UP ROUTER FILES


Note:- Make sure that the router is able to reach TFTP Server using ping cmd.

Backing ip running configuration


Router#copy run tftp (To copy RAM contents to TFTP Server )
Address of tftp server[255.255.255.255]:172.16.0.xx
Destination filename [runnin-config]:Backup of router
!!!!!!
successfully copied to tftp in 10.001 sec

Backing up IOS file


Router#copy flash tftp
Address of TFTP Server[172.16.0.xx]:
Source filename : ( Get file name using sh flash cmc )
Destination filename: [c2500-ws-mz-122(9A).bin]:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
copied file to tftp.

Created by Jitendra Jakhar

Anda mungkin juga menyukai