-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create cheat sheet for cli commands with some of the basics
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |