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 37c91cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cheat_sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

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

## Passwords

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 37c91cf

Please sign in to comment.