Cisco switch interface commands. Download the free cheat sheet here.
Cisco switch interface commands Jul 23, 2025 · To configure an IP Address on a switch interface, first, we must change the interface from a layer 2 interface to a layer 3 interface. show interface summary To display summary details of the system interfaces, use the show interface summary command. Nov 3, 2023 · This table shows the most common commands used to troubleshoot the port or interface problems on switches that run Cisco IOS System Software on the Supervisor. Download the free cheat sheet here. In this article I'm descriping the most important Cisco Show Commands you need to know for Routers and Switches (Download Cheat Sheet PDF) One of the most useful and popular commands used on Cisco devices is the “show interface” command. The undebug interface command is the same as the no debug interface command. Using the configuration modes (global, interface, and line), you can make changes to the running configuration. Power (Admin) Device (mW) Dec 8, 2023 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. How to enable and disable interface on a CISCO switch or router and show its status. Feb 15, 2008 · The Catalyst 2960 and 2960-S switch is supported by Cisco IOS software. Mar 31, 2025 · This chapter provides configuration information of port status and connectivity. interface brief Oct 5, 2017 · To display the configuration of all interfaces or a specific interface, use the show switch interface configuration command in privileged EXEC mode. Switch(config-if)# do show power inline interface gi1 Port State Status Priority Class Max. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across the network. When you enable debugging on a switch stack, it is enabled only on the active switch. Feb 2, 2024 · Entering a no switchport interface configuration command shuts down the interface and then re-enables it, which might generate messages on the device to which the interface is connected. Finding Feature Information Your software release may not support all the features documented in this module. With CIM Cisco Internetworking Basics, you can gain a practical understanding of the fundamental technologies, principles, and protocols used in routing. Dec 8, 2023 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. Aug 14, 2024 · Entering a no switchport interface configuration command shuts down the interface and then re-enables it, which might generate messages on the device to which the interface is connected. Accessing the Command Line Interface You can connect to the switch using a terminal plugged into the console port. Oct 23, 2025 · This tutorial explains basic switch configuration commands in detail with examples. Examples This example shows how to remove the configuration from all the switch interfaces: Device(config)# clear macro auto configuration all device Feb 15, 2008 · To display completed or ongoing diagnostic tests for InfiniBand switch ports, enter the show diagnostic interface ib command in User Exec mode or Privileged Exec mode. Use our essential Cisco commands cheat sheet for quicker and easier device configuration and management. Cisco Catalyst 9200-R Series Switches - Some links below may open a new browser window to display the document you selected. com Mar 18, 2025 · Here's the Cisco CLI Switch Command cheat sheet you need for configuring and managing Cisco switches The Cisco Command-Line Interface (CLI) is a powerful tool for network administrators, providing a robust environment for configuring and managing Cisco network devices. Dec 11, 2024 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. Learn how to configure and manage a Cisco Switch step by step with this basic switch commands and configuration guide. Note: The right hand column on the next table gives a brief description of what the command does and lists any exceptions to the use per platform. To display the configuration for all configured interfaces or a specific interface, use the switch show interface configuration command in privileged EXEC mode. Sep 26, 2025 · To display the configuration for all configured interfaces or for a specific interface, use the show interfaces configuration Privileged EXEC mode command. Dec 3, 2018 · Whether you’re configuring a single switch for a small office or managing a more complex network with multiple switches, you’ll learn how to use the Cisco Command Line Interface (CLI) to make the necessary configurations. It improves the accessibility of the CLIs by making them available outside of the switch by using HTTP/HTTPS. See full list on networkstraining. In this lesson we will use the OSI model and a Cisco IOS command-line interface to identify the common issues and problems in networking. Jul 29, 2011 · Ethernet interfaces can be configured either as access ports or trunk ports. Cisco Catalyst 9300 Series Switches - Some links below may open a new browser window to display the document you selected. Changing the hostname of a switch to GfgSwitch : It is used to set the name of Nov 8, 2016 · Most Cisco devices (including routers and switches) use a CLI (Command Line Interface) to configure the network device. To enable debugging on a member switch, you can start a session from the active switch by using the session switch-number EXEC command. Aug 6, 2019 · Usage Guidelines If you do not specify a keyword, all debug messages appear. show switch interface configuration [ {gigabitEthernet | port-channel} interface-id] Mar 31, 2025 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. It forwards the packet through one of its ports on the basis of destination MAC address and the entry in the MAC table. Information About Using the Command-Line Interface This section describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Interface Commands - NX-API CLI is an enhancement to the Cisco Nexus 7000 Series CLI system. Following basic commands are used to configure a new switch : 1. It can be very useful at troubleshooting connectivity issues and physical port issues, check the status of physical ports, watch how much traffic is passing through the interface, which IP address is assigned… Using the Command-Line Interface This chapter describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. show interface summary Syntax Description Dec 11, 2024 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. Dec 11, 2024 · Entering a no switchport interface configuration command shuts down the interface and then re-enables it, which might generate messages on the device to which the interface is connected. You can verify your settings by entering the show macro auto interface command in privileged EXEC mode. Interface Commands - NX-API CLI is an enhancement to the Cisco Nexus 9000 Series CLI system. Here is explanation of SVI and simple configuration example. Mar 6, 2020 · R1 (config)# interface INTERFACE-TYPE (enter configuration mode for an interface) R1 (config-if)# ip address ADDRESS SNM (assign the IP Address and subnet mask) Feb 15, 2020 · This article provides instructions on how to configure an interface VLAN as an access or trunk port on your switch through the CLI. Dec 27, 2016 · CISCO command-line. Switch(config)# interface gi1 Switch(config-if)# power inline auto time-range workhour Use the following command to verify your configuration. Examples of "no shutdown" and "shutdown" commands. Jun 25, 2020 · Prerequisite - Switch Functions A switch is a layer 2 device used to forward packet from one device to another within the network. Using the Command-Line Interface This chapter describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Jan 6, 2022 · This post is a step-by-step guide including commands, on how to configure a Cisco Catalyst Switch. If you save the configuration, these commands are stored and used when the switch reboots. 💡 Remember: The default configuration for interfaces on Cisco Catalyst 2960 and 3650 switches is dynamic auto. Ethernet Show Commands This chapter describes the Cisco NX-OS Ethernet show commands available on Cisco Nexus 5000 Series switches. • For a complete description of the commands that support these features, see Chapter 2, "Catalyst 2960 and 2960-S Switch Cisco IOS Commands. See Console Settings, page 1-3 for information on how to set console port parameters. Learn how to setup a cisco switch from scratch. If you add interface processors after booting the system, they will appear at the end of the list, in the order in which they were inserted. One of the most powerful commands in IOS is show. Sep 26, 2025 · User Interface CommandsThis chapter contains the following sections: configure disable do enable end exit (Configuration) exit (EXEC) help history history size login terminal datadump terminal history terminal history size terminal prompt terminal width show banner show history show privilege configure To enter the Global Configuration mode, use the configure Privileged EXEC mode command Mar 31, 2025 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. Aug 24, 2018 · People preparing for Cisco exams need to learn what is Cisco Switch Virtual Interface (SVI). To configure a physical interface (port), specify the interface type, stack member number (only stacking-capable switches), module number, and device port number, and enter interface configuration mode. Understanding these modes is essential for managing the switch efficiently. The resulting display on the Cisco 7200 series routers shows the interface processors in slot order. Learn everything you need to know. From this user interface, you can directly execute all Cisco IOS commands, and it doesn’t matter how you reach the Cisco IOS platform; you can enter any CLI command from a remote, console, or terminal interface. To configure a physical interface (port), specify the interface type, stack member number (only stacking-capable switches), module number, and switch port number, and enter interface configuration mode. Syntax Sep 11, 2012 · The description command is meant to provide a reminder in the configuration to describe what certain interfaces are used for. Mar 31, 2025 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. Sep 7, 2019 · Cisco routers/switch run an operating system, called IOS. From an introduction to internetworking and the protocols used in routing, local area network switching and wide area network access, you'll learn the Cisco IOS® Software commands related to various fundamental areas of networking. This chapter describes how to use the switch command-line interface (CLI) to configure software features. You'll Oct 7, 2009 · The Interface Range Specification feature allows specification of a range of interfaces to which subsequent commands are applied and supports definition of macros that contain an interface range. Configuration and commands explained in this tutorial are essential commands to manage a Cisco switch effectively. A point to note is that to provide an IP Address to a switch interface, the switch first must be a Multilayer Switch and all ports of an MLS is layer 2 by default. Oct 19, 2019 · Chapter Contents show Commands config Commands show Commands This section lists the show commands that you can use to display information about the controller ports and interfaces. Jul 1, 2024 · The Cisco IOS provides several commands that help in reviewing the settings on interfaces: To display the configuration of specific interfaces, use the command show running-config interface range [interface range], replacing “[interface range]” with your specific range. This Cisco proprietary protocol contributes in the configuration of trunking interfaces between Cisco switches. You type in configuration commands and use show commands to get the output from the router or switch. Jul 31, 2019 · Usage Guidelines Use the command to remove configuration applied by macros from all the interfaces or a particular interface on the switch. The show interfaces command displays statistics for the network interfaces. Oct 5, 2017 · To display the configuration for all configured interfaces or a specific interface, use the switch show interface configuration command in privileged EXEC mode. Sep 9, 2024 · In Cisco switches, different user modes, or privilege levels, define the level of access a user has to various commands and configuration options. Which we cannot configure a switch if it is not initialized. For the latest feature information and caveats, see the release notes for your platform This article explains the basic cisco switch commands. Aug 14, 2024 · From this mode, you can enter any privileged EXEC command or enter global configuration mode. When you put an interface that is in Layer 2 mode into Layer 3 mode, the previous configuration information related to the affected interface might be lost. The CLI is an interface, based on text. " • For information on the bootloader commands, see Appendix A, "Catalyst . The description appears in the output of the following commands such as show interface and show running-config. Then enter the debug Feb 1, 2023 · The Cisco IOS CLI is the main user interface for configuring, maintaining, and troubleshooting most Cisco devices. Dec 11, 2024 · Interface and Hardware chapter wrapper for command reference. Basic Cisco switch configuration example step-by-step Using the Command-Line Interface This chapter describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Like any operating system, IOS includes a command language to enable equipment owners to retrieve information and change the device’s settings. qgokrjekiqhqsjycwnooedrzscxjgojesyhepkldvancrpjswhenhwnckajglrhwlgfqbkauxvlh