2.3.3.5 lab - configuring a switch management address newport

4
Name ______________ Period ___ Rack ___ Partner ____________ 2.3.3.5 Lab - Configuring a Switch Management ddre!! "o #o$og% &n!tructor Signoff ______________  ddre!!ing "ab$e 'e(ice &nterface &P ddre!! Subnet Ma!k 'efau$t )atewa% S* +LN * *,2.*.*.2 255.255.255./ N0 PC- N&C *,2.*.*.*/ 255.255.255./ N0 1becti(e! Part * Configure a 4a!ic Network 'e(ice Cable the network as sho wn in the topology. Configure basic switch settings including hostname, management address, and T elnet access. Configure an IP address on the PC. Part 2 +erif% and "e!t Network Connecti(it% Display device configuration. Test end-to-end connectivity with ping. Test remote management capability with Telnet. ave the switch running configuration file. 4ackground 0 Scenario Cisco switches have a special interface, known as a switch virtual interface !"I#. The "I can be configured with an IP address, commonly referred to as the management address that is used for remote access to the switch to display or configure settings. In this lab, you will build a simple network using $thernet %&' cabling and access a Cisco switch using the console and remote access methods. (ou will configure basic switch settings and IP addressing, and demonstrate the use of a management IP address for remote switch management. The topology consists of one switch and one host using only $thernet and console ports. Note) The switches used are Cisco Catalyst *+s with Cisco I /elease 01.!*# !lanbasek+ image#. ther switches and Cisco I versions can be used. Depending on the model and Cisco I version, the available commands and output produced might vary from what is shown in the labs. Note) 2ake sure that the switch has been erased and has no startup configuration. If you are unsure, contact your instructor . 3 *04 Cisco and5or its affiliates. &ll rights reserved. This document is Cisco Public. Page * of

Upload: gerardo1028

Post on 13-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2.3.3.5 Lab - Configuring a Switch Management Address Newport

7/23/2019 2.3.3.5 Lab - Configuring a Switch Management Address Newport

http://slidepdf.com/reader/full/2335-lab-configuring-a-switch-management-address-newport 1/4

Name ______________ Period ___ Rack ___ Partner ____________ 

2.3.3.5 Lab - Configuring a Switch Management ddre!!

"o#o$og% &n!tructor Signoff ______________ 

 

ddre!!ing "ab$e

'e(ice &nterface &P ddre!! Subnet Ma!k 'efau$t )atewa%

S* +LN * *,2.*.*.2 255.255.255./ N0

PC- N&C *,2.*.*.*/ 255.255.255./ N0

1becti(e!

Part * Configure a 4a!ic Network 'e(ice

• Cable the network as shown in the topology.

• Configure basic switch settings including hostname, management address, and Telnet access.

• Configure an IP address on the PC.

Part 2 +erif% and "e!t Network Connecti(it%

• Display device configuration.

• Test end-to-end connectivity with ping.

• Test remote management capability with Telnet.

• ave the switch running configuration file.

4ackground 0 Scenario

Cisco switches have a special interface, known as a switch virtual interface !"I#. The "I can be configuredwith an IP address, commonly referred to as the management address that is used for remote access to theswitch to display or configure settings.

In this lab, you will build a simple network using $thernet %&' cabling and access a Cisco switch using theconsole and remote access methods. (ou will configure basic switch settings and IP addressing, anddemonstrate the use of a management IP address for remote switch management. The topology consists ofone switch and one host using only $thernet and console ports.

Note) The switches used are Cisco Catalyst *+s with Cisco I /elease 01.!*# !lanbasek+ image#. therswitches and Cisco I versions can be used. Depending on the model and Cisco I version, the availablecommands and output produced might vary from what is shown in the labs.

Note) 2ake sure that the switch has been erased and has no startup configuration. If you are unsure, contactyour instructor.

3 *04 Cisco and5or its affiliates. &ll rights reserved. This document is Cisco Public. Page * of

Page 2: 2.3.3.5 Lab - Configuring a Switch Management Address Newport

7/23/2019 2.3.3.5 Lab - Configuring a Switch Management Address Newport

http://slidepdf.com/reader/full/2335-lab-configuring-a-switch-management-address-newport 2/4

Lab - Configuring a Switch Management ddre!!

Re6uired Re!ource!

• 0 witch !Cisco *+ with Cisco I /elease 01.!*# lanbasek+ image or comparable#

• 0 PC !6indows 7, "ista, or 8P with terminal emulation program, such as Putty#

• Console cables to configure the Cisco I devices via the console ports

• $thernet cables as shown in the topology

Part * Configure a 4a!ic Network 'e(ice

In Part 0, you will set up the network and configure basic settings, such as hostnames, interface IPaddresses, and passwords.

Ste# * Cab$e the network.

a. Cable the network as shown in the topology.

b. $stablish a console connection to the switch from PC-&.

Ste# 2 Configure ba!ic !witch !etting!.

In this step, you will configure basic switch settings, such as hostname and configuring an IP address for the"I. &ssigning an IP address on the switch is only the first step. &s the network administrator, you mustspecify how the switch will be managed. Telnet and ecure hell !9# are two of the most commonmanagement methods: however, Telnet is a very insecure protocol. &ll information flowing between the twodevices is sent in plain te;t. Passwords and other sensitive information can be easily looked at if captured bya packet sniffer.

a. &ssuming the switch had no configuration file stored in nonvolatile random-access memory !'"/&2#,you will be at the user $8$C mode prompt on the switch with a prompt of Switch>. $nter privileged

$8$C mode.

Switch> enable

Switch#

b. "erify a clean configuration file with the show running-config privileged $8$C command. If a

configuration file was previously saved, it will have to be removed. Depending on the switch model andI version, your configuration may look slightly different. 9owever, there should be no configuredpasswords or IP address set. If your switch does not have a default configuration, ask your instructor forhelp.

c. $nter global configuration mode and assign the switch hostname.

d. Configure the switch password access.

e. Prevent unwanted Domain 'ame ystem !D'# lookups.

f. Configure a login message-of-the-day !2TD# banner.

g. "erify your access setting by moving between modes.

6hat shortcut keys are used to go directly from global configuration mode to privileged $8$C mode<

 ==================================================================================== 

h. /eturn to privileged $8$C mode from user $8$C mode.

Note) Password will not show up on screen when entering.

3 *04 Cisco and5or its affiliates. &ll rights reserved. This document is Cisco Public. Page 2 of

Page 3: 2.3.3.5 Lab - Configuring a Switch Management Address Newport

7/23/2019 2.3.3.5 Lab - Configuring a Switch Management Address Newport

http://slidepdf.com/reader/full/2335-lab-configuring-a-switch-management-address-newport 3/4

Lab - Configuring a Switch Management ddre!!

i. $nter global configuration mode to set the "I IP address to allow remote switch management.

 >. /estrict console port access. The default configuration is to allow all console connections with nopassword needed.

k. Configure the virtual terminal !"T(# line for the switch to allow Telnet access. If you do not configure a"T( password, you will not be able to Telnet to the switch.

Ste# 3 Configure an &P addre!! on PC-.

a. &ssign the IP address and subnet mask to the PC, as shown in the &ddressing Table on page 0. Theprocedure for assigning an IP address on a PC running 6indows 7 is described below)

0# Click the 7indow! Start icon ? Contro$ Pane$.

*# Click +iew 4% ? Categor%.

4# Choose +iew network !tatu! and ta!k! ? Change ada#ter !etting!.

@# /ight-click Loca$ rea Network Connection and select Pro#ertie!.

1# Choose &nternet Protoco$ +er!ion 8"CP0&P(9, click Pro#ertie! ? 1:.

# Click the ;!e the fo$$owing &P addre!! radio button and enter the IP address and subnet mask.

Part 2 +erif% and "e!t Network Connecti(it%

(ou will now verify and document the switch configuration, test end-to-end connectivity between PC-& and0, and test the remote management capability of the switch.

Ste# * 'i!#$a% the S* de(ice configuration.

a. /eturn to your console connection using Putty on PC-& to display and verify your switch configuration byissuing the !how run command.

S1# show run

b. "erify the status of your "I management interface. (our "%&' 0 interface should be up5up and have an

IP address assigned. 'otice that switch port A5 is also up because PC-& is connected to it. Because allswitch ports are initially in "%&' 0, by default, you can communicate with the switch using the IP addressyou configured for "%&' 0.

S1# show ip interface brief

Ste# 2 "e!t end-to-end connecti(it%.

pen a command prompt window !cmd.e;e# on PC-& by clicking the 7indow! Start icon and enter cmd intothe Search for #rogram! and fi$e! field. "erify the IP address of PC-& by using the i#config 0a$$ command.This command displays the PC hostname and the IPv@ address information. Ping PC-&s own address andthe management address of 0.

a. Ping your own PC-& address first.

C:\Users\NetAcad> ping 192.168.1.10

b. Ping the "I management address of 0.

C:\Users\NetAcad> ping 192.168.1.2

If ping results are not successful, troubleshoot the basic device configurations. (ou should check both thephysical cabling and IP addressing, if necessary.

3 *04 Cisco and5or its affiliates. &ll rights reserved. This document is Cisco Public. Page 3 of

Page 4: 2.3.3.5 Lab - Configuring a Switch Management Address Newport

7/23/2019 2.3.3.5 Lab - Configuring a Switch Management Address Newport

http://slidepdf.com/reader/full/2335-lab-configuring-a-switch-management-address-newport 4/4

Lab - Configuring a Switch Management ddre!!

Ste# 3 "e!t and (erif% remote management of S*.

(ou will now use Telnet to remotely access the switch 0 using the "I management address. In this lab, PC- & and 0 reside side by side. In a production network, the switch could be in a wiring closet on the top floorwhile your management PC is located on the ground floor. Telnet is not a secure protocol. 9owever, you willuse it in this lab to test remote access. &ll information sent by Telnet, including passwords and commands, issent across the session in plain te;t. In subseuent labs, you will use ecure hell !9# to remotely access

network devices.

Note) 6indows 7 does not natively support Telnet. The administrator must enable this protocol. To install theTelnet client, open a command prompt window and type pkgmgr /iu:“elnet!lient".

C:\Users\NetAcad> pkgmgr /iu:"elnet!lient"

a. 6ith the command prompt window still open on PC-&, issue a Telnet command to connect to 0 via the"I management address. The password is ci!co.

C:\Users\NetAcad> telnet 192.168.1.2

b. &fter entering the ci!co password, you will be at the user $8$C mode prompt. Type enab$e at theprompt. $nter the c$a!! password to enter privileged $8$C mode and issue a !how run command.

Step 4: Save the configuration file. DO NOT DO THIS ON THE LAB EQI!"ENT a. From your Telnet session, issue the cop# run $tart command at the prompt.

S1# copy run start

Destination filename [startup-config]? [Enter]

Building configuration ..

S1#

b. Exit the Telnet session by typing %uit . You will be returned to the Windows 7 command prompt.

Ref$ection

6hy must you use a console connection to initially configure the switch< 6hy not connect to the switch via

Telnet or 9< ======================================================================================= 

 ======================================================================================= 

3 *04 Cisco and5or its affiliates. &ll rights reserved. This document is Cisco Public. Page  of