Friday 16 February 2018

basic commands of router

To change user mode to privilege mode
Router> en or enable

To change enable mode to configuration mode
Router# conf t or configure terminal

To change configuration mode to interface mode
Router(config)# int f0/0 or interface fastethernet 0/0
Router(config-if)# exit
Router(config)# 
            Or
Router(config-if)#end

To change configuration mode to line interactive mode
Router(config)#line c 0

To check the running configuration of router (RAM)
Router# sh run or show running-config

To check the saved configuration of router (NVRAM)
Router#sh start or show startup-config

To check flash
Router#sh flash

To check interface status of router
Router#sh ip int brief

To check date & time of router
Router#sh clock

To set date & time of router
Router#clock set 10:21:00 Jan 3 2014

To check the hardware, software versions & router run time
Router#sh ver

To check login details
Router#sh users or sh line

To check router routing table
Router#sh ip route

To set hostname on router
Router#conf t
Router(config)#hostname R1

To remove hostname
R1(config)#no hostname

To run enable mode command on configuration mode
Router(config)#do sh ip int brief

To set login message on router
Router(config)#banner motd  "welcome to cisco world"

To set time zone of router
Router(config)#clock timezone GMT 23
Router(config)#exit

To save configuration
Router#write
            Or
Router#copy run start


how to set time for internet use

this will allow internet access for a particular time interval. R4(config)#int f0/0 R4(config-if)#ip nat inside R4(config-...