From 9d1461cd09ee71d81669e7d05c2006abdcb5ff40 Mon Sep 17 00:00:00 2001 From: laaraujo Date: Sat, 11 May 2024 18:47:40 -0300 Subject: [PATCH] Add more commands to cli cheat sheet --- cheat_sheet/README.md | 51 ++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/cheat_sheet/README.md b/cheat_sheet/README.md index 5a69e90..8d40ab1 100644 --- a/cheat_sheet/README.md +++ b/cheat_sheet/README.md @@ -19,25 +19,32 @@ ## 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 |