Tuesday, January 25, 2022

Quick Cisco commands - template

 enable
conf t
hostname R2
enable password cisco
enable secret student
service password-encryption
username admin privilege 15 password 0 cisco
banner motd # Welcome to R2 #
ip domain-lookup
ip domain-name cisco.com
ip name-server 192.168.1.2
crypto key generate rsa
512
line con 0
password cisco
login local
login synchronous
exec-timeout 0 0
line vty 0 15
password cisco
login local
exec-timeout 0 0
login synchronous
transport input all
exit
int f0/0
ip address 192.168.2.254 255.255.255.0
desc Connection to R1
no shut
int s0/0/1
ip address 10.1.1.6 255.255.255.252
desc Connection to R1
no shut
exit
copy run start