Thursday, 2 February 2023

Cisco Command Cheat Sheet

Struggling remembering basic Cisco commands, see below for a helpful guide.

💰Shortcut


Ctrl + Shift + 6 

Aborts current activity

Ctrl + x 

Deletes line

Tab 

Auto completes command if enough of it is typed 

?

Can be used after a command to see what options are available next for example ip ? could be ip address of ipv6 address


🙋User Levels


Router>

User Exec mode 

Router#

Privileged exec mode - network activity configured here

Router(config)#

Global exec mode - impacts the entire device

Router(config-if)#

Interface config - impacts the interface


🔐Securing console port


Router(config)#

Line console 0

Router(con­fig­-line)# 

password Friends

Router(con­fig­-line)# login

login


🔐Securing virtual ports


Router(con­fig)# 

line vty 0 15

Router(con­fig­-line)# Password Cisc0

Password Hello

Router(con­fig­-line)#

login



🔐Encrypt all passwords 


Router(con­fig)# 

service passwo­rd-­enc­ryption


📪Message of the day


Router(con­fig)# 

banner motd # Authorized Access Only *#


🛟Save the running configuration to startup configuration


Router#

copy run start


No comments:

Post a Comment

Fast switching vs Process switching

Process Switching: Process switching is the traditional method of packet forwarding used in early routers. When a packet arrives at a router...