Beruflich Dokumente
Kultur Dokumente
Agenda
Introduction
Cisco Catalyst Switch Brand Cisco Linksys Switch Brand
1/2
Agenda
Global Configuration Mode
2/2
Types of Configurations
Initial Configuration (Setup Mode) Startup Configuration
Running Configuration
Introduction
Cisco Catalyst Switch Brand
Includes a large collection of switches, all of which have
1/2
been designed with Enterprises in mind The Catalyst switches have a wide range of sizes, functions, and forwarding rates
Cisco Linksys Switch Brand
Includes a variety of switches designed for use in the home
Introduction
variety of switch series or families
2/2
www.asghars.blogspot.com
1/8
different Cisco switch family, typically a more powerful and more expensive product family
Figure on next slide shows the photo of the 2960
switch series from Cisco; each switch is a different specific model of switch inside the 2960 series
6 www.asghars.blogspot.com
2/8
3/8
right that are 10/100/1000 interfaces on the right, intended to connect to the core switches of an Enterprise campus LAN
Cisco refers to a switchs physical connectors as either
interfaces or ports. Each interface has a number in the style x/y, where x and y are two different numbers
In a 2960, the number before the / is always 0. The rst
10/100 interface on a 2960 is numbered starting at 0/1, the second is 0/2, and so on
8 www.asghars.blogspot.com
4/8
GigabitEthernet interfaces
Cisco supports two major types of switch operating systems:
Internetwork Operating System (IOS)
Most Cisco Catalyst switch series today run only Cisco IOS But for some historical reasons, some of the high-end Cisco LAN
use Cat OS and the term native to refer to 6500 switches that use Cisco IOS
9 www.asghars.blogspot.com
5/8
LEDs on the left, one LED over each port, and a mode button
Port
SYST (System) RPS (Redundant Power Supply) STAT (Status) DUPLX (Duplex) SPEED
10
MODE
www.asghars.blogspot.com
6/8
states on most 2960 switch models: Off: switch is not powered on On (green): switch is powered on and operational (Cisco IOS has been loaded) On (amber): switchs Power-On Self Test (POST) process failed, and the Cisco IOS did not load. In this case, the typical response is to power the switch off and back on again. If the same failure occurs, a call to the Cisco Technical Assistance Center (TAC) is typically the next step
The particular details of how each LED works differ between
different Cisco switch families and with different models inside the same switch family
11 www.asghars.blogspot.com
7/8
Ethernet portmeans something different depending on which of three port LED modes is currently used on the switch
The switches have a mode button (labeled with number 6
in Figure) that, when pressed, cycles the port LEDs through three modes:
STAT DUPLX, and
SPEED
12
www.asghars.blogspot.com
8/8
Solid Green: The link is working, but theres 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 In SPEED Mode Dark LED; meaning 10 Mbps Solid Green Light; meaning 100 Mbps Flashing Green; meaning 1000 Mbps (1 Gbps)
13 www.asghars.blogspot.com
1/6
which the user, typically a network engineer, enters a text command and presses Enter
Pressing Enter sends the command to the switch, which
2/6
15
www.asghars.blogspot.com
3/6
term) must be installed and configured to use the PCs serial port, matching the switchs console port settings
16
www.asghars.blogspot.com
4/6
follows:
9600 bits/second No hardware flow control 8-bit ASCII No stop bits
1 parity bit
listed
CLI Access with Telnet & SSH
Most terminal emulator packages also include both Telnet &
5/6
emulator a Telnet Client or SSH Client and device that listens for commands is called Telnet Server or SSH Server The switch runs Telnet and SSH server software by default, but needs to have an IP address configured Telnet & SHH is TCP based where Telnet uses the port 23 and SHH uses the port 22 The key difference b/w Telnet & SHH is that Telnet sends all data as clear-text data, while the SHH sends data in more secure manner by using the encryption By default switch allows only console access, but no Telnet or SHH access
18 www.asghars.blogspot.com
6/6
console line 0 Cisco switches also support 16 Telnet sessions, referenced as virtual terminal (vty) lines 0 through 15 SSH requires a little more effort than console & Telnet, as SSH uses public key cryptography to exchange a shared session key Additionally, SSH requires both username and password for login
19 www.asghars.blogspot.com
1/9
related commands
Entering a question mark (?) at the system prompt
allows you to obtain a list of commands available for each command mode
The three basic modes are:
User EXEC Mode Privileged EXEC Mode Global Configuration Mode
20 www.asghars.blogspot.com
2/9
devices, change terminal settings on a temporary basis, perform basic tests, and list system information
EXEC refers to the fact that the user only enter the
command, switch executes that command and then display the message
The prompt for user EXEC mode is the name of the device
3/9
To set enable mode password, use either the enable password or enable secret commands It is recommended that you use the enable secret command
4/9
5/9
active configuration file Configuration mode itself contains submodes Submodes used to configure specific system features Context-setting commands move you from one configuration mode or context to another To enter global configuration mode, enter the configure command from privileged EXEC mode:
6/9
Line Configuration
Interface Configuration
Access-list Configuration
Use access-list configuration mode when you are creating a
25
www.asghars.blogspot.com
7/9
auxiliary, console, physical, or virtual terminal line From global configuration mode, enter by specifying a line with a line {aux|con|tty|vty} line-number [ending-linenumber] command
Interface Configuration
The commands entered in this mode modify the operation of
an interface From global configuration mode, enter by specifying an interface with an interface command
26 www.asghars.blogspot.com
8/9
configuration mode
27
www.asghars.blogspot.com
9/9
The end or Ctrl+z key sequence exit the user from any
28
www.asghars.blogspot.com
1/8
ROM
Stores bootstrap/boot-helper program, that is loaded when the
switch first power on Bootstrap program finds the image of IOS and load it into the RAM
Flash Memory
Found in the form of chip inside the switch or a removable
memory card Stores the Cisco IOS images and it is the default location where bootstrap searches for the IOS image
29 www.asghars.blogspot.com
2/8
configuration by using questions that prompt for basic switch configuration parameters Figure on next slide describe the process used by setup mode
30 www.asghars.blogspot.com
3/8
Startup Configuration
Used for initialization when the switch boots If this file does not exist, the system boots using the factory
defaults
31 www.asghars.blogspot.com
4/8
startup configuration file The IOS File System (IFS) refers to startup-config as nvram:startup-config
Running Configuration
Stores the currently used configuration commands
This file changes dynamically when someone enters
commands in configuration mode It is stored in RAM If the switch is reloaded (rebooted) and the running configuration is not saved all commands will be lost You can use the show running-config command to view the startup configuration file
32
www.asghars.blogspot.com
5/8
as system:running-config
33
www.asghars.blogspot.com
6/8
command can be used to copy files b/w RAM or NVRAM on a switch and a TFTP server The copy command can be summarized as:
copy { tftp|running-config|startup-config } { tftp|running-config|startup-config }
file is copied into NVRAM or into a TFTP server, while it merged the configuration file into the running-config file in RAM Figure on next slide depicts the locations and results of copy operation
34 www.asghars.blogspot.com
7/8
contents of NVRAM
write erase erase
35
erase (older)
startup-config (older) nvram (recomened)
www.asghars.blogspot.com
8/8
running-config file; to clear the running-config file, simply erase the startup-config file and then reload the switch
36
www.asghars.blogspot.com