diff --git a/cheat_sheet/README.md b/cheat_sheet/README.md index a4024ef..bb519c7 100644 --- a/cheat_sheet/README.md +++ b/cheat_sheet/README.md @@ -3,30 +3,41 @@ ## Modes | Mode | Description | -| --- | --- | +| --- | --- | | `>` | User EXEC mode | | `#` | Privileged EXEC mode | | `(config)#` | Global configuration mode | | `(config-if)#` | Interface configuration mode | -## Basics - -| Mode | Command | Description | -| :-: | --- | --- | -| > | `enable` | Change to Privileged EXEC mode | -| # | `configure terminal` | Enter Privilleged EXEC mode | -| (config)# | `interface ` | Enter 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 | Mode | Command | Description | -| --- | --- | --- | -| (config)# | `enable password ` | Set plain text password | +| --- | --- | --- | +| (config)# | `enable password ` | Set plain text password to | | (config)# | `service password-encryption` | Use Cisco's Type 7 encoding | -| (config)# | `enable secret ` | Set MD5 hashed password and disable old passwords | +| (config)# | `enable secret ` | Set MD5 hashed password to and disable old passwords | + +## Basics + +| Mode | Command | Description | +| --- | --- | --- | +| > | `enable` | Change to Privileged EXEC mode | +| | `exit` | Exit current mode | +| | `no ` | Disable a feature/function or reverse the action of | +| # | `configure terminal` | Enter Privilleged EXEC 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 | +| # | `ping ` | Ping | +| (config)# | `shutdown` | Disable interface | +| # | `show mac address-table` | Show the MAC address table | +| (config)# | `clear mac address-table` | Manually clear the MAC address table | +| (config)# | `clear mac address-table dynamic ` | Clear MAC address table entry for interface | +| (config)# | `do ` | Run 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 ` | Enter config mode | +| (config)# | `interface range ` | Enter interface config mode for all interfaces (including) through | +| (config)# | `ip address ` | Configure interface IP address |