Configuration cisco switch commands pdf

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. This menu gives you access to the main settings that you will. Chapter 3 command line modes on cisco routers and switches. Trunks are required to carry vlan traffic from one switch to another. If you need to be able to connect to the switch from other networks, you will also need to configure a default gateway address. Connect to your switch and get into configuration mode using a set of commands like the following. Attach rogue laptop to any unused switch port and notice that the link lights are red. This also means that the switch at the other end of the connections needs to be a cisco switch as well. Catalyst 2960 switch software configuration guide full. 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. Verify port security is enabled and the mac addresses of pc1 and pc2 were added to the running configuration with show run command. Appendix b comware cli commands in provision software.

Catalyst 2960 switch software configuration guide ol860301 chapter 9 configuring ieee 802. All stack switches must have same ios version and same feature sets. For guidelines about configuring this cisco ios feature refer to the following cisco ios configuration guide. Essential cisco ios commands internetwork training. This includes adjusting port speed, bandwidth and security requirements. Notice the keyword desirable, which means that you will be using the cisco proprietary protocol of pagp. But, when i looked at the show switch detail command i see that switch 1 and 2 have priority configured on it. To configure the switch so that you can connect an appropriate device to a port and have it work, follow these steps. There are also some other similar software but cisco ios output will be same on all simulators.

Cisco express forwarding, fast switching, and multicast. This book is designed to provide information about the cisco certified. Basic cisco switch configuration commands omnisecu. I created a slideshow of sample output from all these commands. Cisco switch configuration using web console dummies. Default settings after initial switch configuration 110. If you dont see your favorite commands for cisco switch troubleshooting here please let me know and ill add them. Cisco router configuration commands cli cheat sheet in a previous post, i have published a cisco switch commands cheat sheet tutorial. Catalyst 3750 switch command reference full book in pdf. 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. The first two are gui tools and the latter is a cli option.

This is useful as cisco configuration can be very long and can have thousands of lines. In this lesson i will demonstrate how to configure a trunk between cisco catalyst switches. Use the following command to backup the configuration. The following commands will work on most cisco switch models such as 4500, 3850, 3650, 2960, 3560 etc. 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.

In this chapter, we will see about various command line modes of cisco devices. If youd like a quick reference of these commands for your desk just click here. Examplesthe following example shows configuration of ieee 802. When working with routers in particular, but also when dealing the management interface on switches, you will often need to configure network interfaces which will either match physical interface ports or virtual interfaces in the form of a virtual lan vlan interface when dealing with switches. You need to configure the switch with setup mode or from scratch using the command line interface cli before connecting it in your network environment. This tutorial explains basic switch configuration commands in detail with examples.

Cisco cli switch commands cheat sheet pdf networks training. The default gateway is the ip address of the router interface to which the switch connects. Manage multivendor networks that include hpe and cisco switches. It would be impractical to dump the whole configuration to screen and expect the admin to. A command line interface to the putty back ends pageant.

Learn how to configure and manage a cisco switch step by step with this basic switch commands and configuration guide. Cisco 3900 series, cisco 2900 series, and cisco 1900 series integrated services routers generation 2 software configuration guide chapter basic router configuration configuring io memory allocation for complete information on global parameter commands, see the cisco ios release configuration guide documentation set. But, in the config i have not configured any switch 1 priority 15 and switch 2 priority 10 commands on the switch. Cisco router configuration commands lists how to enable and disable interfaces, add ip addresses to interfaces, enable rip or igrp and set passwords cisco router show commands handy show commands to check on the status of interfaces cisco router basic operations covers getting into and out of different modes. Network switches, lan and enterprise switches cisco. Contents iv catalyst 2960 switch command reference ol860401 archive tar 29 archive uploadsw 212 auto qos voip 214 boot boothlpr 218 boot config file 219 boot enablebreak 220 boot helper 221 boot helper config file 222 boot manual 223 boot private config file 224 boot system 225 channelgroup 226 channelprotocol 229 class 230 classmap 232 clear dot1x 234 clear eap 235. The configure navigation menu has four options, smartports, port settings, express setup, and restartreboot. The configuraton menu is available from the dashboard which is the tools main page. Cisco ios configuration fundamentals command reference.

Enter the configuration commands, one for each line. Cisco ios is the internetwork operating system of both the cisco switches and routers. A quick tutorial on basic switch configuration for the cisco ccna. To configure the default gateway for the switch, use the ip defaultgateway command. Packet tracer cisco commands list cli basic networking. Cisco ios router configuration commands cheat sheet pdf. The basic cli commands for all of them are the same, which simplifies cisco device management. We assume that both cisco catalyst wsc375048p switches are running same version of ios. To configure the cisco from scratch connect to the router using a rollover cable and. For example, if the switch is connected to a router with the ip address 192. Accesses the command line similar to console port access but over. Its enough to learn how to configure ssh on cisco router. How to configure switch port security on cisco switches. Cisco switches are self configuring and no additional configurations are necessary for them to function out of the box.

However, cisco switches run cisco ios, and can be manually config ured to better meet the needs of the network. 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. Packet tracer is a network simulator used for configuring and creating the virtual cisco devices and network. Above you see a topology with a computer connected to each switch.

Download this cisco switch commands cheat sheet as pdf file to have it as reference. Mastering moving between these modes is critical to successfully configuring the router. Cisco router configuration tutorial cisco internetwork operating system. In order for a port to be a trunk port configure it with the following command. Cisco ios modes of operation the cisco ios software provides access to several different command modes. Catalyst 2960 switch command reference ol860401 archive tar 29 archive uploadsw 212 auto qos voip 214 boot boothlpr 218 boot configfile 219 boot enablebreak 220 boot helper 221 boot helperconfigfile 222 boot manual 223 boot privateconfigfile 224 boot system 225 channelgroup 226 channelprotocol 229 class 230 classmap 232 clear dot1x 234 clear eap 235. Cisco ios lan switching command reference november 2010. Packet tracer cisco cli commands list here is the detailed cisco router configuration commands list, which can be implemented with packet tracer. Switch configuration by the end of this session, you will be able to. In the previous chapter, we saw how to subnet a network. Configuration and commands explained in this tutorial are essential commands to manage a cisco switch effectively. The gui tool, web console is provided to assist you in configuring your cisco switches. Chapter 4 basic configuration of a cisco router or switch. Almost all cisco devices use cisco ios to operate and cisco cli to be managed.

An rsa rivest, shamir, and adleman and dsa digital signature algorithm key generation utility if you want to use putty to make a terminal connection to your cisco device, choose the full version of putty, which is the first item on the list. As a cisco certified professional ccent or ccna, it is very important to know the basic cisco switch configuration. Each command mode provides a different group of related commands. The following commands are the setup commands you use for configuring one of the switches for etherchannel. In the example, vlan 99 is configured as the native vlan using the switchport trunk native vlan 99 command. For security purposes, the cisco ios software provides two levels of access to. Try to test your switch port security configuration with ping command and testing with the rogue laptop on the lab. The cisco ios command syntax to specify a native vlan other than vlan 1 is shown in table 36. Cisco switch troubleshooting commands denton business. Also, make sure your windows firewall is not blocking icmp. The configuration of vlans is the same on any of the catalyst switches the 2950, 2960, 3550, 3560, 3750 and 45006500 series use the same commands. Well put the computers in the same vlan and create a trunk between the two switches. Here is a cisco commands cheat sheet that describes the basic commands for configuring, securing and troubleshooting cisco network devices.

In this course, the switchport mode trunk command is the only method implemented for trunk configuration. This document describes the commands used to configure lan switching and. In this example, i just enable and configure ssh on sw1 and trying to access it from pc1. An ssh authentication agent for putty, pscp, and plink puttygen. Lets make one configuration change to the switch and then save it.

631 131 900 22 813 1334 209 1561 257 1364 985 1288 252 327 915 1566 1272 1566 678 1411 1030 568 1548 236 1307 15 730 500 326 279 1216 822 237 499