list of some common switch commands used on Cisco switches:

Here are some common Cisco switch commands:

  1. show running-config: displays the current configuration of the switch
  2. show interface: displays the status and configuration of a specific interface
  3. show vlan: displays information about VLANs configured on the switch
  4. show mac address-table: displays the MAC address table of the switch
  5. configure terminal: enters configuration mode for the switch
  6. interface [interface name]: enters configuration mode for a specific interface
  7. vlan [VLAN ID]: creates or modifies a VLAN
  8. no shutdown: enables an interface or VLAN
  9. shutdown: disables an interface or VLAN
  10. copy running-config startup-config: saves the current configuration to the startup configuration
  11. "show version" : Displays information about the switch, including the version of the software running on it.
  12. "show interfaces" : Displays status and statistics for all interfaces on the switch.
  13. "show vlan" : Displays information about all VLANs configured on the switch.
  14. "show mac-address-table" : Displays the MAC address table for the switch.
  15. "show running-config" : Displays the current running configuration for the switch.
  16. "show startup-config" : Displays the configuration that will be used when the switch is next restarted.
  17. "configure terminal" : Enters global configuration mode where you can make changes to the switch's configuration.
  18. "interface [interface-number]" : Enters interface configuration mode for the specified interface.