list of some common switch commands used on Cisco switches:
Here are some common Cisco switch commands:
- show running-config: displays the current configuration of the switch
- show interface: displays the status and configuration of a specific interface
- show vlan: displays information about VLANs configured on the switch
- show mac address-table: displays the MAC address table of the switch
- configure terminal: enters configuration mode for the switch
- interface [interface name]: enters configuration mode for a specific interface
- vlan [VLAN ID]: creates or modifies a VLAN
- no shutdown: enables an interface or VLAN
- shutdown: disables an interface or VLAN
- copy running-config startup-config: saves the current configuration to the startup configuration
- "show version" : Displays information about the switch, including the version of the software running on it.
- "show interfaces" : Displays status and statistics for all interfaces on the switch.
- "show vlan" : Displays information about all VLANs configured on the switch.
- "show mac-address-table" : Displays the MAC address table for the switch.
- "show running-config" : Displays the current running configuration for the switch.
- "show startup-config" : Displays the configuration that will be used when the switch is next restarted.
- "configure terminal" : Enters global configuration mode where you can make changes to the switch's configuration.
- "interface [interface-number]" : Enters interface configuration mode for the specified interface.