Chapter 4 basic configuration of a cisco router or switch. Packet tracer cisco cli commands list here is the detailed cisco router configuration commands list, which can be implemented with packet tracer. The basic cli commands for all of them are the same, which simplifies cisco device management. November 2010 show vlan port provisioning lsw316 show vlan privatevlan lsw317 show vlan remotespan. Almost all cisco devices use cisco ios to operate and cisco cli to be managed. Cisco 2900xl series switches tried this on a 2912xl, and instructions didnt quite work. Cisco ios lan switching command reference november 2010. Essential cisco ios commands internetwork training.
The default gateway is the ip address of the router interface to which the switch connects. For security purposes, the cisco ios software provides two levels of access to. Here, we will talk about cisco router basic commands like assigning ip address to an interface, bringing up an interface, applying enable and secret password. Basic cisco switch configuration commands omnisecu.
Configuring a cisco switch properly means your network can make connections efficiently. Packet tracer is a network simulator used for configuring and creating the virtual cisco devices and network. Basic cisco commands by marcus nielson 2014 configuring basic switch settings switch examples enter enable if the prompt has changed back to switch. Contents vi catalyst 2960 switch software configuration guide ol860301 chapter 5 clustering switches 51 understanding switch clusters 51 cluster command switch characteristics 53 standby cluster command switch characteristics 53 candidate switch and cluster member switch characteristics 53 planning a switch cluster 54 automatic discovery of cluster candidates and members 54. In the previous chapter, we saw how to subnet a network. Catalyst 2960 switch software configuration guide full. The objective of this document is to show you how to access a switch s command line interface cli with a standard 9pin serial cable and a secure shell ssh client. Etherchannel has been a part of the cisco ios for many years, so you should find that all your switches support it with proper configuration.
I have had many people ask me about commands on switches and i was going to make a cheat sheet but erik rodriguez did such a nice job i am going to share his work great job erik. Cisco switch troubleshooting commands denton business. Learn how to configure and manage a cisco switch step by step with this basic switch commands and configuration guide. Vlan configuration guide supermicro l2l3 switches configuration guide 4 1 vlan configuration guide this document describes the virtual local area network vlan feature supported in supermicro layer 2 layer 3 switch products. Cisco ios is the internetwork operating system of both the cisco switches and routers. Not all cisco catalyst switches support the configuration of all 4,090 vlans 4,094 minus the four reserved. How to configure cisco switches a step by step guide. Packet tracer cisco commands list cli basic networking. Vlan configuration commands step by step explained this tutorial explains how to create and assign vlan, vlan membership static and dynamic, router on stick and spanning tree protocol stp in detail with practical examples in packet tracer. Exec global config int inter face global config interface config linegoba c f config sh run show runnin g. When you execute the show running config show run command on cisco router switches, the output will be paged through one screen at a time. Basic configuration of a cisco switch can be done in three ways, using cisco device manager web tool, using cisco networking assistant cna and cisco ios setup mode.
Because the outofthebox configuration of a cisco switch has vlan 1 as the default vlan. Cisco router configuration commands cli cheat sheet in a previous post, i have published a cisco switch commands cheat sheet tutorial. The privileged exec command set includes those commands contained in user exec mode, as well as. To configure the default gateway for the switch, use the ip defaultgateway command. Enabling avb on cisco catalyst switches last updated.
Also configure the vty lines 0 to 15 with the password cisco. All show commands in cisco switch and router snabay. Mastering moving between these modes is critical to successfully configuring the router. This book is designed to provide information about the cisco certified network. Download this cheat sheet pdf basic cisco ios commands cheat sheet by tamaranth. Keep this fact in mind when purchasing a lowerend switch, to ensure that the switch will support the. Cisco ios router configuration commands cheat sheet pdf. Cisco cli command cheat sheet switches and routers ios. Cisco ios modes of operation the cisco ios software provides access to several different command modes. The first two are gui tools and the latter is a cli option. When you are finished, return to global configuration mode by entering the exit command or pressing ctrlz. Cisco express forwarding, fast switching, and multicast. Giving hostname to router it is used to set a name to a device stating an identity to a device.
Cisco ios switch commands cheatsheet open tech guides. In a previous post, i have published a cisco switch commands cheat sheet tutorial. When setting up an etherchannel connection, remember the following points. Other commands comm and from mode func tion sdm pre dual def global config used if switch wont take ipv6 address general commands short command complete command func tion en enable user exec priv. Use the vlan vlan id command in global configuration mode to add a vlan to switch s1. You can watch the video below to use the basic commands of a switch and also subscribe to our. The ios provides the mechanism to configure all layer 2 and layer 3 functions on cisco devices. There are also some other similar software but cisco ios output will be same on all simulators. Exit configuration mode by entering the following command.
These are some quick notes i have to refresh my memory on configuring cisco switches. Cisco ios configuration fundamentals command reference. The following is an example for configuring all ports 6 using the interface range command, 2event poe configuration with additional easy. Any examples, command display output, and figures included in the document are shown for illustrative. Chapter 3 command line modes on cisco routers and switches. For guidelines about configuring this cisco ios feature refer to the following cisco ios configuration guide lan.
Since these kinds of posts are useful as a reference for many people, i have decided to create also a cisco router commands cheat sheet with the most useful and the most frequently used command line. Associate ccna routing and switching composite exam 200125. Default settings after initial switch configuration 110. Cisco cli switch commands cheat sheet pdf networks training. This document describe about how to show the complete configuration without breakspauses on cisco router switches, asa firewall and wlc wireless lan controller on cisco router switches. The implications and reasoning behind this action are explained in the next chapter.
With this program, you can use network devices more realistically. The following commands will work on most cisco switch models such as 4500, 3850, 3650, 2960, 3560 etc. Use the following command to backup the configuration. Here is a cisco commands cheat sheet that describes the basic commands for configuring, securing and troubleshooting cisco network devices. Access the cli via putty using a console connection on 300 and 500 series managed. The prompt will display the name of the switch so sw1 tells us that we are connected to a switch named sw1. The ios is structured into several modes, which contain sets of commands. Cisco switches will be used for the hands on exercise however this is not a cisco. Accesses the command line similar to console port access but over. February 28, 2012 basic switch configuration cisco ios basic switch functions, names and passwords the switch name is tool to let us see what device we are connected to. To know all show commands in cisco switch and router keep reading this article till the end. This document covers the vlan configurations for the below listed supermicro switch products. Basic cisco switch configuration example in 10 steps security hardening checklist guide for cisco routers switches in 10 steps network infrastructure devices routers, switches, load balancers, firewalls etc are among the assets of an enterprise that play an important role in security and thus need to be. This is important as these hostname are used in wan for.
This command shows the active configuration of a cisco switch. The cisco ios cisco ios the cisco ios internetwork operating system is a command line interface used by nearly all current cisco routers and catalyst switches. Accesses the command line similar to console port access but over the network. Command line interface commands and keyboard shortcuts for cisco ios. This will set the password class for the console line. What is the cisco ios version that the switch is running. When you enter the configuration of the cisco ios for a switch, the physical ports are logical interfaces, so you specify an interface by describing the physical location of a port. If you dont work with cisco switches every day its hard to remember all the commands so we made a cheat sheet for cisco switch troubleshooting commands. How to configure cisco switch basically sysnettech solutions. Cisco 200 series small business managed switches do not support the cli. Examples the following example shows configuration of ieee 802.
Do not be afraid to enable it on a pair of ports and try it. Since these kinds of posts are useful as a reference for many people, i have decided to create also a cisco router commands cheat sheet with the most useful and the most frequently used command line interface cli configuration commands for cisco routers cisco ios routers are probably the most complete. Understanding cisco configuration engine software 41 configuration service 42 event service 43 namespace mapper 43 what you should know about the cns ids and device hostnames43 configid 43 deviceid 44 hostname and deviceid 44 using hostname, deviceid, and configid 44 understanding cisco ios agents 45 initial configuration 45. Create a basic switch configuration, including a name and an ip address. To configure the switch so that you can connect an appropriate device to a port and have it work, follow these steps. Enabling avb on cisco catalyst switches biamp systems. Configuration and commands explained in this tutorial are essential commands to manage a cisco switch effectively. Cisco router runs on an operating system called the ios internetwork operating system. This lesson explains basic cisco switch configuration commands like how to configure a hostname for a cisco switch, how to configure a motd banner for cisco switch, how to enable dns lookup for a cisco switch, how to turn off the automatic name resolution for a cisco switch, how to assign a local name to an ip address, how to turn on synchronous logging and how to configure an inactivity time.
Each command mode provides a different group of related commands. Cisco switches will be used for the hands on exercise however this is not a cisco course. To enable the administrator to retrieve information and change the devices settings. In this chapter, we will see about various command line modes of cisco devices. The most specific way to configure a switch is to use the graphical network simulator software. Switch configuration by the end of this session, you will be able to. Some devices have quite lengthy configurations so i recommend filtering the. Catalyst 2960 switch software configuration guide cisco. Cisco switches run on proprietary os known as cisco ios. Download this cisco switch commands cheat sheet as pdf file to have it as reference with you in the field. Cisco router configuration tutorial cisco internetwork operating system. However, a best practice for basic switch configuration is to change the management vlan to a vlan other than vlan 1.
484 808 1233 831 1202 488 70 636 271 1575 950 936 622 775 886 770 701 1574 521 1410 785 843 292 27 1326 95 851 873 700 500 718 1300