Beruflich Dokumente
Kultur Dokumente
1 Module 6
Switch Configuration
Switches:
• are dedicated, specialized computers, which
contain a central processing unit (CPU), random
access memory (RAM), and an operating system;
• have several ports that hosts can connect to;
• have specialized ports for the purpose of
management;
• can be managed and the configuration can be
viewed and changed through the console port ;
• typically have no power switch to turn them on
and off - simply connect or disconnect from a
power source;
© 2004, Cisco Systems, Inc. All rights reserved. 3
Catalyst 2950 series Switches Features
• Fixed configuration
symmetrical switches with
all ports being FastEthernet
or 10/100;
• Asymmetrical switches
with two fixed fiber or
copper Gigabit Ethernet
ports;
• Asymmetrical switches
with modular Gigabit
Interface Converter (GBIC)
slots
RPS LED
• indicates whether or not the remote power supply is in use;
Mode LEDs
• indicate the current state of the Mode button;
• are used to determine how the Port Status LEDs are interpreted;
• to select or change the port mode, press the Mode button repeatedly
until the Mode LEDs indicate the desired mode.
• User EXEC
• Privileged EXEC
• show running-config
• show interface
• show vlan
• show flash
• show version
IOS image
file env_vars
sub-directory
html
Management VLAN:
• by default, VLAN 1 is the management
VLAN;
• all internetworking devices should be in
the management VLAN;
• allows a single management workstation
to access, configure, and manage all the
internetworking devices.
Switches
• examine the source address of frames that
are received on the ports;
• learn the MAC addresses of PCs or
workstations that are connected to their
switch ports;
• record learned MAC addresses in a MAC
address table.
© 2004, Cisco Systems, Inc. All rights reserved. 48
Check Learned MAC Addresses
Switches:
• dynamically learn and maintain thousands
of MAC addresses;
• learned entries may be discarded from the
MAC address table (to preserve memory and
for optimal operation) ;
• the MAC address entry is automatically
discarded or aged out after 300 seconds (if
no frames are seen with a previously learned
address).
© 2004, Cisco Systems, Inc. All rights reserved. 50
Check Learned MAC Addresses
To configure:
Port Security
• It is possible to limit the number of
addresses that can be learned on an
interface;
• the number of MAC addresses per port
can be limited to 1;
• the first address dynamically learned by
the switch becomes the secure address.
Host is moved:
• from one port or switch to another;
• configurations that can cause unexpected
behavior should be removed;
• configuration that is required can then be
added.
Passwords
• must be set on the console and vty lines-
for security and management purposes;
• must be set enable password;
• must be set enable secret password.
• Type flash_init
• Type load_helper
• Type dir flash:
• rename flash:config.text flash:config.old
• Type boot
• N at the following prompt to start the
Setup program.
11.
To upgrade the IOS, download a copy of the new image to a local server
from the Cisco Connection Online (CCO) Software Center
E-Labs
6.2.1. e-Lab Activity – Basic Switch Operation
6.2.2. e-Lab Activity – Basic Switch Configuration
6.2.3. e-Lab Activity – Managing the MAC Address Table
6.2.4. e-Lab Activity – Configuring Static MAC Addresses
6.2.5. e-Lab Activity – Configuring Port Security
6.2.6. e-Lab Activity – Add, Move, Change MAC Addresses
6.2.7. e-Lab Activity – Managing Switch Operating System Files
6.2.7. e-Lab Activity – Managing Switch Startup Configuration Files
6.2.8. e-Lab Activity – Password Recovery Procedure on a Catalyst
2900 Series Switch
6.2.9. e-Lab Activity – Firmware Upgrade on a Catalyst 2900 Series
Switch