Skip to content

Commit

Permalink
Fix formatting in CLI cheat sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
laaraujo committed May 11, 2024
1 parent cd7fa73 commit 1442dbc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions cheat_sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

## Modes

| Mode | Description |
| :-: | --- |
| `>` | User EXEC mode |
| `#` | Privileged EXEC mode |
| `(config)#` | Global configuration mode |
| `(config-if)#` | Interface configuration mode |
| Mode | Description |
| --- | --- |
| > | User EXEC mode |
| # | Privileged EXEC mode |
| (config)# | Global configuration mode |
| (config-if)# | Interface configuration mode |

## Passwords

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

## Basics

| Mode | Command | Description |
| :-: | --- | --- |
| --- | --- | --- |
| > | `enable` | Change to Privileged EXEC mode |
| | `exit` | Exit current mode |
| | `no <command>` | Disable a feature/function or reverse the action of <command> |
Expand All @@ -31,13 +31,13 @@
| # | `write memory` | Save running-config as startup-config |
| # | `copy running-config startup-config` | Save running-config as startup-config |
| # | `ping <ip_address>` | Ping <ip_address> |
| (config)# | `shutdown` | Disable interface |
| # | `show mac address-table` | Show the MAC address table |
| # | `show arp` | View the ARP table and show all ARP entries |
| # | `show ip interface brief` | Show interfaces status and configured IP addresses |
| (config)# | `shutdown` | Disable interface |
| (config)# | `clear mac address-table` | Manually clear the MAC address table |
| (config)# | `clear mac address-table dynamic <interface>` | Clear MAC address table entry for <interface> interface |
| (config)# | `do <command>` | Run <command> in Privileged EXEC mode |
| # | `show arp` | View the ARP table and show all ARP entries |
| # | `show ip interface brief` | Show interfaces status and configured IP addresses |
| (config)# | `interface <interface_name>` | Enter <interface_name> config mode |
| (config)# | `interface range <interface_start> <interface_stop>` | Enter interface config mode for all interfaces (including) <interface_start> through <interface_stop> |
| (config)# | `ip address <ip_address> <subnet_mask>` | Configure interface IP address |

0 comments on commit 1442dbc

Please sign in to comment.