Skip to content

Commit

Permalink
Create cheat sheet for cli commands with some of the basics
Browse files Browse the repository at this point in the history
  • Loading branch information
laaraujo committed May 11, 2024
1 parent b80eccf commit 3fd3500
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cheat_sheet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Cisco IOS CLI cheat sheet

## Contexts

| Context | Description |
| --- | --- |
| **>** | User EXEC mode |
| **#** | Privileged EXEC mode |
| **(config)#** | Global configuration mode |
| **(config-if)#** | Interface configuration mode |

## Basics

| Context | Command | Description |
| --- | --- | --- |
| > | `enable` | Change to Privileged EXEC mode |
| # | `configure terminal` | Enter Privilleged EXEC mode |
| (config)# | `interface <interface_name>` | Enter <interface_name> config mode |
| | `exit` | Exit current mode |
| # | `show running-config` | Show current config |
| # | `show startup-config` | Show startup config |
| # | `write` | Save running-config as startup-config |
| # | `write memory` | Save running-config as startup-config |
| # | `copy running-config startup-config` | Save running-config as startup-config |

## Passwords

| Context | Command | Description |
| --- | --- | --- |
| (config)# | `enable password <password>` | Set plain text password |
| (config)# | `service password-encryption` | Use Cisco's Type 7 encoding |
| (config)# | `enable secret <password>` | Set MD5 hashed password and disable old passwords |

0 comments on commit 3fd3500

Please sign in to comment.