Chapter 4
Operating and Configuring a Cisco IOS Device
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:?Start up the Catalyst?switch and Cisco router and observe the bootup processes.?Provide an initial configuration for the switch and perform the router’s initial setup configuration.
?Enable and identify the command modes in each network device.
Objectives (cont.)
?Use the various help and command-line-editing features of each device’s user interface.
?Show and recognize fundamental technical details about each network device.
?Cisco IOS software delivers network
services and enables networked
applications.
Cisco IOS Software
Network Device Configuration
?Configuration sets up the device with:
–Network policy of the functions required.
–Protocol addressing and parameter settings.–Options for administration and management.?Catalyst switch memory has initial configuration with default settings.?Cisco router will prompt for initial configuration if there is no configuration in memory.
An Overview of
Cisco Device Startup
?Find and check device hardware.
?Find and load Cisco IOS software image.?Find and apply device configurations.
?Configurations can come from many sources.?Configurations will act in device memory.
Console Port Auxiliary Port
Interfaces
PC or UNIX Server
Web or Network Management Server Virtual Terminal External Configuration
Sources
Telnet
TFTP
?A command line interface is used to enter commands.?Operations vary on different internetworking devices.
?Users type or paste entries in the console command modes.
?Enter key instructs device to parse and execute the command.
?Two primary EXEC modes are user mode and privileged mode.
?Command modes have distinctive prompts.Cisco IOS
Cisco IOS User Interface Fundamentals
Cisco IOS Software
EXEC Mode
?There are two main EXEC modes for entering commands.
First Mode:
User Mode
?Limited examination of switch or router
?Command prompt: hostname>
Cisco IOS Software EXEC Mode
(cont.)
Second Mode (and Most Commonly Used):
Privileged (or Enabled) Mode
?Detailed examination of switch or router
?Enables configuration and debugging
?Prerequisite for other configuration modes
?Command prompt: hostname#
Initial Startup of the
Catalyst Switch
?System startup routines initiate switch software.?Initial startup uses default configuration parameters.
1. Before you start the switch,
verify the cabling and console
connection.
2. Attach the power cable plug to
the switch power supply socket.
3. Observe the boot sequence:
–LEDs on the switch chassis.
–Cisco IOS software output text.
Checking Switch LED
Indicators
Port LEDs During
Switch POST
1. At the start, all port LEDs are green.
2. Each LED turns off after its test completes.
3. If a test fails, its LED turns amber.
4. System LED turns amber if any test fails.
5. If no test fails, POST completes.
6. On POST completion, LEDs blink,
then turn off.
Initial Bootup Output from the Switch Console Connection
Catalyst 1900 Management Console
Copyright (c) Cisco Systems, Inc. 1993-1998
All rights reserved.
Enterprise Edition Software
Ethernet Address: 00-50-BD-73-E2-C0
PCA Number: 73-3121-01
PCA Serial Number: FAA0252A0QX
Model Number: WS-C1924-EN
System Serial Number: FAA0304S0U3
Power Supply S/N: PHI025101F3
-------------------------------------------------
1 user(s) now active on Management Console.
User Interface Menu
[M] Menus
[K] Command Line
[I] IP Configuration
Enter Selection:
Console
Logging In to the Switch and
Entering the Enable Password
>
> enable
Enter password:
#
# disable User-Mode Prompt Privileged-Mode Prompt
Context-Sensitive Help Console Error Messages Identify problems with any switch commands that are incorrectly entered so that
you can alter or correct them
Allows recall of long or
complex commands or
entries for reentry, review, or
correction
Command History Buffer
Switch Command-Line
Help Facilities
Provides a list of
commands and the
arguments associated
with a specific command
Showing Switch
Initial Startup Status
Switch#show version
Switch#show running-configuration
Switch#show interfaces
?Displays operational status of switch components
Switch show version
Command
wg_sw_c#show version
Cisco Catalyst 1900/2820 Enterprise Edition Software
Version V8.01.01 written from 171.068.229.225
Copyright (c) Cisco Systems, Inc. 1993-1998
wg_sw_c uptime is 15day(s) 21hour(s) 53minute(s) 11second(s)
cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memory Hardware board revision is 5
Upgrade Status: No upgrade currently in progress.
Config File Status: No configuration upload/download is in progress
27 Fixed Ethernet/IEEE 802.3 interface(s)
Base Ethernet Address: 00-50-BD-73-E2-C0
wg_sw_c#show run Building configuration...Current configuration:!hostname "wg_sw_c"!ip address 10.1.1.33 255.255.255.0ip default-gateway 10.3.3.3!interface Ethernet 0/1
configuration Command
wg_sw_c#show run
Building configuration...Current configuration:!hostname "wg_sw_c"!ip address 10.1.1.33 255.255.255.0ip default-gateway 10.3.3.3!interface Ethernet 0/1
Catalyst 1924 Switch
Catalyst 1912 Switch
Switch show interfaces
Command
wg_sw_c#show interfaces ethernet 0/1
Ethernet 0/1 is Enabled
Hardware is Built-in 10Base-T
Address is 0050.BD73.E2C1
MTU 1500 bytes, BW 10000 Kbits
802.1d STP State: Forwarding Forward Transitions: 1 Port monitoring: Disabled
Unknown unicast flooding: Enabled
Unregistered multicast flooding: Enabled
Description:
Duplex setting: Half duplex
Back pressure: Disabled
--More--