18
© 2004 Cisco Systems, Inc. All rights reserved. Operating and Configuring Cisco IOS Devices Starting a Switch INTRO v2.0—8-1

© 2004 Cisco Systems, Inc. All rights reserved. Operating and Configuring Cisco IOS Devices Starting a Switch INTRO v2.0—8-1

Embed Size (px)

Citation preview

© 2004 Cisco Systems, Inc. All rights reserved.

Operating and Configuring Cisco IOS Devices

Starting a Switch

INTRO v2.0—8-1

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-2

Outline

• Overview

• Physical Startup of the Catalyst Switch

• Switch LED Indicators

• Viewing Initial Boot Up Output from the Switch

• Logging In to the Switch

• Examining the Help Facility in the Switch CLI

• Configuring a Switch from the Command Line

• Showing the Switch Initial Startup Status

• Summary

• Lab Exercise 8-1: Cisco Remote Lab Connection

• Lab Exercise 8-2: Switch Start-up and Initial Configuration

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-3

• System startup routines initiate switch software.

• Initial startup uses default configuration parameters.

Initial Startup of the Catalyst Switch

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-4

Catalyst 2950 Switch LED Indicators

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-5

Initial Bootup Output from the Catalyst 2950 Switch

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-6

Initial Configuration of the Catalyst 2950 Switch Using Setup

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-7

Logging In to the Switch and Entering the Privileged EXEC Mode

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-8

Switch Command-Line Help Facilities

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-9

Configuration modes:• Global configuration mode

–wg_sw_a#configure terminal

–wg_sw_a(config)#

• Interface configuration mode

–wg_sw_a(config)#interface e0/1

–wg_sw_a(config-if)#

Configuring the Switch

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-10

• Sets the local identity for the switch

Configuring Switch Identification

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-11

Example:

wg_sw_a(config)#interface vlan 1wg_sw_a(config-if)#ip address 10.5.5.11 255.255.255.0wg_sw_a(config-if)#no shutdown

Note: It is necessary to use the no shutdown command to make the interface operational.

wg_sw_a(config-if)#interface vlan 1wg_sw_a(config-if)#ip address {ip address} {mask}

Configuring the Switch IP Address

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-12

Example:

wg_sw_a(config)#ip default-gateway 172.20.137.1

wg_sw_a(config)#ip default-gateway {ip address}

Configuring the Switch Default Gateway

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-13

Showing Switch Initial Startup Status

wg_sw_a#show version

• Displays the configuration of the system hardware, software version, names and sources of configuration files, and boot images

wg_sw_a#show running-config

• Displays current active configuration file of the switch

wg_sw_a#show interfaces

• Displays statistics for all interfaces configured on the switch

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-14

Switch show version Command

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-15

Switch show interfaces Command

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-16

Summary

• The startup of a Catalyst switch requires verifying the physical installation, powering up the switch, and viewing the Cisco IOS software output on the console.

• The Catalyst switches have several status LEDs that are generally lit in green when the switch is functioning normally but turn amber when there is a malfunction.

• The Catalyst POST is executed only when the switch is powered up.

• During initial startup, if POST test failures are detected, they are reported to the console. If POST completes successfully, the switch can be configured.

© 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—8-17

Summary (Cont.)

• When starting any mode on a Catalyst switch, begin in user EXEC mode. To change modes, a password must be entered.

• The Catalyst switch CLI provides a help facility that is similar to the router’s help facility.

• The Catalyst IOS switches can be configured using the global and other configuration modes similar to the routers.

• After logging into a Catalyst IOS switch, the switch software and hardware status can be verified using the show version, show running-config and the show interfaces commands.