diff --git a/cheat_sheet/README.md b/cheat_sheet/README.md index 5a69e90..5389adc 100644 --- a/cheat_sheet/README.md +++ b/cheat_sheet/README.md @@ -6,38 +6,45 @@ | --- | --- | | > | User EXEC mode | | # | Privileged EXEC mode | -| (config)# | Global configuration mode | -| (config-if)# | Interface configuration mode | +| (config) | Global configuration mode | +| (config-if) | Interface configuration mode | ## Passwords | Mode | Command | Description | | --- | --- | --- | -| (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 to and disable old passwords | +| (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 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 | -| # | `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 ` | Clear MAC address table entry for interface | -| (config)# | `do ` | Run in Privileged EXEC mode | -| (config)# | `interface ` | Enter config mode | -| (config)# | `interface range ` | Enter interface config mode for all interfaces (including) through | -| (config)# | `ip address ` | Configure interface IP address | +| Mode | Command | Description | +| --- | --- | --- | +| > | `enable` | Change to Privileged EXEC mode | +| | `exit` | Exit current mode | +| | `?` | Show possible commands for the current mode starting with | +| | ` ?` | Show possible options to complete the command with | +| | `no ` | Disable a feature/function or reverse the action of | +| | `do ` | Run in Privileged EXEC mode | +| # | `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 | +| # | `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 | +| # | `show interfaces status` | Show L2 nad L3 info about the interfaces and their status | +| # | `show interfaces ` | Show all available info about interface | +| (config) | `shutdown` | Disable interface | +| (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) | `interface ` | Enter config mode | +| (config) | `interface range - ` | Enter interface config mode for all interfaces (including) through | +| (config-if) | `ip address ` | Configure interface IP address | +| (config-if) | `speed ` | Manually configure interface/s speed | +| (config-if) | `duplex ` | Manually configure interface/s duplex | +| (config-if) | `description ` | Set the description field for the interface to |