IIHT Ltd.
Bapu Nagar, Jaipur Ph:0141-5540910
LAB – 1
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
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 )