Docsity

Switch Configuration - Computer Network - Lecture Slides, Slides of Computer Networks

Toggle sidebar
bg1
Switch Configuration
Semester 3 – Module 6
Students completing this module should be able to:
•Identify the major components of a Catalyst switch
•Monitor switch activity and status using LED indicators
•Examine the switch bootup output using HyperTerminal
•List the major switch command modes
•Verify the default settings of a Catalyst switch
•Set an IP address and default gateway for the switch to allow connection and management over a network
•View the switch settings with a Web browser
•Set interfaces for speed and duplex operation
•Examine and manage the switch MAC address table
•Configure port security
•Manage configuration files and IOS images
•Perform password recovery on a switch
•Upgrade the IOS of a switch
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Switch Configuration - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Switch Configuration

Semester 3 – Module 6

Students completing this module should be able to:

  • Identify the major components of a Catalyst switch
  • Monitor switch activity and status using LED indicators
  • Examine the switch bootup output using HyperTerminal
  • List the major switch command modes
  • Verify the default settings of a Catalyst switch
  • Set an IP address and default gateway for the switch to allow connection and management over a network
  • View the switch settings with a Web browser
  • Set interfaces for speed and duplex operation
  • Examine and manage the switch MAC address table
  • Configure port security
  • Manage configuration files and IOS images
  • Perform password recovery on a switch
  • Upgrade the IOS of a switch Docsity.com

Overview

• Because of their dominant role in modern

networks, the ability to understand and

configure switches is essential for network

support

• A new switch will have a preset

configuration with factory defaults

• Switches can be configured and managed

from a command-line interface (CLI)

Switch MODE LED Indicator

• A switch has 4 types of MODE LED:

  • System
    • Green – operating correctly
    • Amber – POST failed or fatal error
  • RPS
  • Port Mode
  • Port Status

Switch Port LED Indicator Modes

• A switch has 4 types of LED Modes:

  • STAT (default mode)
    • Indicates working status of port
  • UTL
    • Indicates overall usage of bandwidth
  • FDUP
    • Indicates if the port is half or full duplex
  • 100
    • Indicates what speed the port is set: 10/

Power-on Self Test (P.O.S.T.)

  • Once the power cable is connected, the switch initiates a series of tests called the power-on self test (POST). POST runs automatically to verify that the switch functions correctly
  • The Port Status LEDs change during switch POST.
  • The Port Status LEDs turn amber for about 30 seconds as the switch discovers the network topology and searches for loops. - Green, the switch has established a link between the port and a target, such as a computer. - LED off, the switch has determined that nothing is plugged into the port.

Connecting to the Switch

• HyperTerminal via rollover cable through

console port

  • HyperTerminal Settings
    • 9600 bps
    • Hardware flow control
    • No parity

Common CLI Commands

• Exiting Priv EXEC

  • Ctrl-z | end | exit

• Entering Global Config from Priv EXEC

  • config t

• Using Help

  • Any command followed by a?

Default Switch Configuration

  • When powered up for the first time, a switch has

default data in the running configuration file.

  • The default configuration includes:
    • hostname is Switch
    • No passwords are set on the console or virtual terminal (vty) lines
    • The switch ports or interfaces are set to auto negotiate 10Mbps or 100Mbps
    • All switch ports are in VLAN 1 (Management VLAN)
    • All hosts should be able to s/r ARP messages from each other

Configuring the Switch

• When a network administrator needs to

ensure an interface has particular speed

and duplex values, the values can be set

manually for each interface

  • Switch(config)# int fa 0/
  • Switch(config-if)# duplex full or half
  • Switch(config-if)# speed 10, 100, or 1000

Managing MAC Tables

  • A switch dynamically learns and maintains thousands of MAC addresses.
  • To preserve memory and for optimal operation of the switch, learned entries may be discarded from the MAC address table.
  • Machines may have been removed from a port, turned off, or moved to another port on the same switch or a different switch.
  • This could cause confusion in frame forwarding.
  • For all these reasons, if no frames are seen with a previously learned address, the MAC address entry is automatically discarded or aged out after 300 seconds
  • Show mac-address-table
  • Clear mac-address-table

Configuring Port Security

Managing Moves and Changes

• When a new switch is added to a network,

configure the following:

  • Switch name
  • IP address for the switch in the management

VLAN

  • A default gateway
  • Line passwords