Operating Cisco LAN Switches

Slides:



Advertisements
Similar presentations
© 2003, Cisco Systems, Inc. All rights reserved..
Advertisements

Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
CCNA2 MODULE 5.
Ch. 6 – Switch Configuration CCNA 3 version Overview Identify the major components of a Catalyst switch Monitor switch activity and status using.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
Cisco Router. Overview Understanding and configuring the Cisco Internetwork Operating System (IOS) Connecting to a router Bringing up a router Logging.
Introduction to the Cisco IOS
WXES2106 Network Technology Semester /2005 Chapter 5 Routers CCNA2: Module 1 and 2.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CCNA 2 v3.1 Module 2.
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
Chapter 9 Managing a Cisco Internetwork Cisco Router Components Bootstrap - Brings up the router during initialization POST - Checks basic functionality;
CCENT Review. Put the following descriptions in order from Layer 7 to Layer 1 and give the name of each layer.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Routers A router is a computer Computers have four basic components:
CISCO NETWORKING ACADEMY Chabot College ELEC Router Components & “Show” Commands.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Configuring a network os
Ch.2 – Introduction to Routers
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration Cisco Networking Academy.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 CCNA 3 v3.1 Module 6 Switch Configuration Claes Larsen, CCAI.
Instructor & Todd Lammle
CCNA Guide to Cisco Networking
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 Pertemuan 9 Switch Configuration. Discussion Topics Starting the Switch Configuring the Switch 2.
CCNA 3 Week 6 Switch Configuration. Copyright © 2005 University of Bolton Physical Details Available in variety of sizes –12 port, 16 port, up to 48 port.
Cisco Router Hardware Software overview. In this lecture we will investigate an overview of Cisco router hardware and software. We will first turn our.
Cisco Routers Objectives –How to log into a Cisco router and determine basic settings. Contents –Differences in available methods of access. –Different.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 1 – Chapter 9 Ethernet Switch Configuration 1.
Discovery 2 Internetworking Module 5 JEOPARDY John Celum.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Ch.2 – Introduction to Routers
IOS Backup & Password Breaking Technique of Routers & Switches Chapter 17 powered by DJ 1.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 2 Introduction to Routers.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Sybex CCNA Chapter 4: Cisco’s IOS and SDM Instructor & Todd Lammle.
1 Router Fundamentals (Ref. CCNA5 Introduction to Networks 2.1, 6.3)
Routers and Routing Basics CCNA 2 Chapter 3 1.
Will learn to use router modes and configuration methods to update a router's configuration file with current and prior versions of Cisco Internetwork.
Ch.2 – Introduction to Routers CCNA 2 version 3.0 Rick Graziani Cabrillo College.
Introduction to Routers
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
Routers 1st semester
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Chapter 2: Configure a Network Operating System
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
+ Lecture#3: Configuring a Network Operating System Asma AlOSAIMI.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
TCP/IP Layer 4 Protocols. TCP and UDP TCP provides error recovery, but to do so, it consumes more bandwidth and uses more processing cycles. UDP does.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
Cisco LAN Switches.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Instructor Materials Chapter 8 Configuring Cisco Devices
© 2002, Cisco Systems, Inc. All rights reserved.
Cisco S2 C5 Router Startup.
Chapter 5: Switch Configuration
Chapter 5: Switch Configuration
Chapter 5: Switch Configuration
Instructor & Todd Lammle
Instructor & Todd Lammle
Lecture9: Embedded Network Operating System: cisco IOS
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Operating Cisco LAN Switches Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 1 – Chapter 8

Cisco LAN Switches Cisco has two major brands of LAN switching products. Catalyst Linksys The Cisco Catalyst switch brand includes a large collection of switches, all of which have been designed with Enterprises (companies, governments, and so on) in mind. The Catalyst switches have a wide range of sizes, functions, and forwarding rates. The Cisco Linksys switch brand includes a variety of switches designed for use in the home.

Cisco LAN Switches 2960 Catalyst Switch Series

Cisco LAN Switches Cisco Catalyst Switches and the 2960 Switch Cisco positions the 2960 series (family) of switches as full-featured, low-cost wiring closet switches for Enterprises. You would expect to use 2960 switches as access switches. Access switches provide the connection point for end-user devices, with cabling running from desks to the switch in a nearby wiring closet. 2960 access switches would also connect to the rest of the Enterprise network using a couple of uplinks, often connecting to distribution layer switches. The distribution layer switches are often from a different Cisco switch family, typically a more powerful and more expensive product family. Cisco supports two major types of switch operating systems: Internetwork Operating System (IOS) Catalyst Operating System (Cat OS) Most Cisco Catalyst switch series today run only Cisco IOS, but for some historical reasons, some of the high-end Cisco LAN switches support both Cisco IOS and Cat OS. NOTE For the real world, note that Cisco’s most popular core switch product, the 6500 series, can run either Cisco IOS or Cat OS. Cisco also uses the term hybrid to refer to 6500 switches that use Cat OS and the term native to refer to 6500 switches that use Cisco IOS.

Cisco LAN Switches Switch Status from LEDs

Cisco LAN Switches Switch Status from LEDs

Cisco LAN Switches Switch Status from LEDs SYST LED provides a quick overall status of the switch, with three simple states on most 2960 switch models: Off: The switch is not powered on On (green): The switch is powered on and operational (Cisco IOS has been loaded) On (amber): The switch’s Power-On Self Test (POST) process failed, and the Cisco IOS did not load. The switches have a mode button (labeled with number 6) that, when pressed, cycles the port LEDs through three modes: STAT DUPLX SPEED Each of the three port LED modes changes the meaning of the port LEDs associated with each port. For example, in STAT (status) mode, each port LED implies status information about that one associated port. For example: Off: The link is not working. Solid green: The link is working, but there’s no current traffic. Flashing green: The link is working, and traffic is currently passing over the interface. Flashing amber: The interface is administratively disabled or has been dynamically disabled for a variety of reasons.

Cisco LAN Switches Switch Status from LEDs in SPEED port LED mode, the port LEDs imply the operating speed of the interface: Dark LED meaning 10 Mbps Solid green light meaning 100 Mbps Flashing green meaning 1000 Mbps (1 Gbps) The particular details of how each LED works differ between different Cisco switch families and with different models inside the same switch family.

Accessing Catalyst Switch Accessing the Cisco Catalyst 2960 Switch CLI Cisco uses the same concept of a command-line interface (CLI) with its router products and most of its Catalyst LAN switch products. The Cisco IOS CLI allows the user to use a terminal emulation program, which accepts text entered by the user. The switch CLI can be accessed through three popular methods: The console Telnet Secure Shell (SSH) Two of these methods (Telnet and SSH) use the IP network in which the switch resides to reach the switch. The console is a physical port built specifically to allow access to the CLI. You can also use a web browser to configure a switch, but the interface is not the CLI interface. This interface uses a tool called either the Cisco Device Manager (CDM) or Cisco Security Device Manager (SDM).

Accessing Catalyst Switch CLI Access from the Console The console port provides a way to connect to a switch CLI even if the switch has not been connected to a network yet. Every Cisco switch has a console port, which is physically an RJ-45 port. A PC connects to the console port using a UTP rollover cable, which is also connected to the PC’s serial port. As soon as the PC is physically connected to the console port, a terminal emulator software package must be installed and configured on the PC. Emulator software packages: Windows Hyper Terminal, Tera Term The default console port settings on a switch are as follows: 9600 bits/second No hardware flow control 8-bit ASCII No stop bits 1 parity bit

Accessing Catalyst Switch CLI Access from the Console

Accessing Catalyst Switch Accessing the Cisco Catalyst 2960 Switch CLI

Accessing Catalyst Switch Accessing the Cisco Catalyst 2960 Switch CLI

Accessing Catalyst Switch Accessing the Cisco Catalyst 2960 Switch CLI Telnet uses an IP network to send and receive the data, rather than a specialized cable and physical port on the device. The Telnet application protocols call the terminal emulator a Telnet client and the device that listens for commands and replies to them a Telnet server. Telnet is a TCP-based application layer protocol that uses well-known port 23. Telnet sends all data (including any username and password for login to the switch) as clear-text data, which presents a potential security risk. Secure Shell (SSH) does the same basic things as Telnet, but in a more secure manner by using encryption. SSH uses TCP, while using well-known port 22 instead of Telnet’s 23. The key difference between Telnet and SSH lies in the fact that all the communications are encrypted and therefore are private and less prone to security risk.

Accessing Catalyst Switch Password Security for CLI Access By default, a Cisco switch is very secure as long as the switch is locked inside a room. By default, a switch allows only console access, but no Telnet or SSH access. To add basic password checking for the console and for Telnet, the engineer needs to configure a couple of basic commands. Cisco switches refer to the console as a console line—specifically, console line 0. Similarly, switches support 16 concurrent Telnet sessions, referenced as virtual terminal (vty) lines 0 through 15 (Old versions from 0 to 4.

Accessing Catalyst Switch User and Enable (Privileged) Modes All three CLI access methods covered so far (console, Telnet, and SSH) place the user in an area of the CLI called user EXEC mode. User EXEC mode, sometimes also called user mode, allows the user to look around but not break anything. The “EXEC mode” part of the name refers to the fact that in this mode, when you enter a command, the switch executes the command and then displays messages that describe the command’s results. Cisco IOS supports a more powerful EXEC mode called enable mode (also known as privileged mode or privileged EXEC mode). Privileged mode earns its name because powerful, or privileged, commands can be executed there. For example, you can use the reload command, which tells the switch to reinitialize or reboot Cisco IOS, only from enable mode.

Accessing Catalyst Switch User and Enable (Privileged) Modes If the command prompt lists the hostname followed by a >, the user is in user mode; if it is the hostname followed by the #, the user is in enable mode. The preferred configuration command for configuring the password for reaching enable mode is the “enable secret password” command, where password is the text of the password. Note that: if the enable password is not configured (the default), Cisco IOS prevents Telnet and SSH users from getting into enable mode, but Cisco IOS does allow a console user to reach enable mode.

Accessing Catalyst Switch CLI Help Features

Accessing Catalyst Switch CLI Help Features

Accessing Catalyst Switch The debug and show Commands By far, the single most popular Cisco IOS command is the show command. The show command has a large variety of options, and with those options, you can find the status of almost every feature of Cisco IOS. A less popular command is the debug command. Like the show command, debug has many options. However, instead of just listing messages about the current status, the debug command asks the switch to continue monitoring different processes in the switch. The effects of the show and debug commands can be compared to a photograph and a movie. Like a photo, a show command shows what’s true at a single point in time, and it takes little effort. The debug command shows what’s true over time, but it requires more effort. As a result, the debug command requires more CPU cycles, but it lets you watch what is happening in a switch while it is happening.

Accessing Catalyst Switch The debug and show Commands The messages Cisco IOS creates in response to all debug commands, regardless of which user(s) issued the debug commands, are treated as a special type of message called a log message. Any remote user can view log messages by simply using the terminal monitor command. These log messages also appear at the console automatically. The options enabled by a single debug command are not disabled until the user takes action or until the switch is reloaded. Be aware that some debug options create so many messages that Cisco IOS cannot process them all, possibly resulting in a crash of Cisco IOS. You might want to check the current switch CPU utilization with the show process command before issuing any debug command. To be more careful, before enabling an unfamiliar debug command option, issue a no debug all command, and then issue the debug that you want to use.

Configuring Cisco IOS Software Configuration mode is another mode for the Cisco CLI, similar to user mode and privileged mode. configuration commands are the commands that tell the switch the details of what to do, and how to do it. Commands entered in configuration mode update the active configuration file. These changes to the configuration occur immediately each time you press the Enter key at the end of a command.

Configuring Cisco IOS Software Configuration Submodes and Contexts Configuration mode itself contains a multitude of subcommand modes. Context-setting commands move you from one configuration subcommand mode, or context, to another. These context-setting commands tell the switch the topic about which you will enter the next few configuration commands. More importantly, the context tells the switch the topic you care about right now, so when you use the ? to get help, the switch gives you help about that topic only. For example, the CLI user could enter interface configuration mode by entering the interface FastEthernet 0/1 configuration command. Asking for help in interface configuration mode displays only commands that are useful when configuring Ethernet interfaces. Both the Ctrl-z key sequence and the end command exit the user from any part of configuration mode and go back to privileged EXEC mode. Alternatively, the exit command backs you out of configuration mode one sub-configuration mode at a time.

Configuring Cisco IOS Software Configuration Submodes and Contexts

Configuring Cisco IOS Software Storing Switch Configuration Files The following list details the four main types of memory found in Cisco switches, as well as the most common use of each type. RAM: Sometimes called DRAM for Dynamic Random-Access Memory, RAM is used for working storage. The running (active) configuration file is stored here. ROM: Read-Only Memory (ROM) stores a bootstrap (or boothelper) program that is loaded when the switch first powers on. This bootstrap program then finds the full Cisco IOS image and manages the process of loading Cisco IOS into RAM, at which point Cisco IOS takes over operation of the switch. Flash memory: Either a chip inside the switch or a removable memory card, Flash memory stores fully functional Cisco IOS images and is the default location where the switch gets its Cisco IOS at boot time. Flash memory also can be used to store any other files, including backup copies of configuration files. NVRAM: Nonvolatile RAM (NVRAM) stores the initial or startup configuration file that is used when the switch is first powered on and when the switch is reloaded.

Configuring Cisco IOS Software Storing Switch Configuration Files Cisco IOS stores the collection of configuration commands in a configuration file. In fact, switches use multiple configuration files—one file for the initial configuration used when powering on, and another configuration file for the active, currently used running configuration as stored in RAM.

Configuring Cisco IOS Software

Configuring Cisco IOS Software Copying and Erasing Configuration Files The most basic method for moving configuration files in and out of a switch is to use the copy command to copy files between RAM or NVRAM on a switch and a TFTP server.

Configuring Cisco IOS Software Copying and Erasing Configuration Files The copy command always replaces the existing file when the file is copied into NVRAM or into a TFTP server. However, when the copy command copies a configuration file into the running-config file in RAM, the configuration file in RAM is not replaced, but is merged instead. If you change the running config and then decide that you want to revert to what’s in the startup-config file, the result of the copy startup-config runningconfig command may not cause the two files to actually match. The only way to guarantee that the two configuration files match is to issue the reload command, which reloads, or reboots, the switch, which erases RAM and then copies the startup-config into RAM as part of the reload process.

Configuring Cisco IOS Software Copying and Erasing Configuration Files You can use three different commands to erase the contents of NVRAM. The write erase and erase startup-config commands are older, whereas the erase nvram: command is the more recent, and recommended, command. Cisco IOS does not have a command that erases the contents of the running-config file. Cisco IOS defines a few other more formalized names for running and startup configuration files files. These more formalized filenames use a format defined by the Cisco IOS File System (IFS), which is the name of the file system created by Cisco IOS to manage files.

Configuring Cisco IOS Software Initial Configuration (Setup Mode) Cisco IOS Software supports two primary methods of giving a switch an initial basic configuration: Configuration mode Setup mode Setup mode leads a switch administrator to a basic switch configuration by using questions that prompt the administrator for basic configuration parameters.

Configuring Cisco IOS Software Initial Configuration (Setup Mode)

Configuring Cisco IOS Software Initial Configuration (Setup Mode)

Configuring Cisco IOS Software Initial Configuration (Setup Mode)