FAQs

Basic Commands

Enable SSH on Cisco Router/Switch

It can be enabled using below commands:-

R1(config)#ip domain-name aakarperiwal.com
R1(config)#crypto key generate rsa general-keys modulus 1024
R1(config)#username aakar password aakar
R1(config)#enable password aakar
R1(config)#line vty 0 4
R1(config-line)#login local
R1(config-line)#transport input ssh

 

How to enter in Config mode of Cisco router/Switch

To enter config mode of any Cisco device:-

Router> en
Router# configure terminal
Router(config)#

 

How To change hostname of Cisco Router

To change host name of Cisco router use below command;-

Router(config)# hostname <new hostname>

 

How to check version of cisco router

To check version of Cisco router just run below command

show version

It will show you version of your IOS and Hardware information.

Router

Enable SSH on Cisco Router/Switch

It can be enabled using below commands:-

R1(config)#ip domain-name aakarperiwal.com
R1(config)#crypto key generate rsa general-keys modulus 1024
R1(config)#username aakar password aakar
R1(config)#enable password aakar
R1(config)#line vty 0 4
R1(config-line)#login local
R1(config-line)#transport input ssh

 

How to check Static routes in cisco router

To check Static routes in Cisco router use below command

show ip route static

It will show you all the static routes.

How to check routing table in cisco router

To Check Routing Table in Cisco Router run below command

show ip route

It will show you all the preferred routes.