Basic cisco command


 Router/Switch Privileged mode  command :

Router>enable


Router/Switch global configuration mode command:

Router# configuration terminal


Router/Switch Device name change command :

Router(config)#hostname R1


Router/Switch Device enable password set command :

R1(config)#enable password 123

R1(config)#enable secret 321


Router/Switch password encryption  command :

R1(config)#service password-encryption 


Router/Switch login banner set command 

R1(config)#banner login C this is comments C


Router/Switch telnet configuration command 

R1#configure terminal 

R1(config)#line vty 0 4

R1(config-line)#transport input telnet

R1(config-line)#login local

R1(config-line)#password 1234

R1(config-line)#exit

R1(config)#



Router/Switch SSH configuration command 


R1(config)#ip domain-name alamin.com  <domain name save>

R1(config)#crypto key generate rsa

How many bits in the modulus [512]: 1024

R1(config)#

R1(config)#line vty 0 4

R1(config-line)#transport input ssh

R1(config-line)#password 1234

R1(config-line)#login local



Switch telnet ip set configuration command 

Switch> enable

Switch# configure terminal

Switch(config)#interface vlan 444

Switch(config-if)#ip address 11.111.111.2 255.255.255.0

Switch(config-if)#exit

Switch(config)#ip default-gateway 11.111.111.1

Switch(config)#



Comments

Popular posts from this blog

Mikrotik Hotspot Configuration

OSPF Multi Area Configuration of 4 Routers