Professional Documents
Culture Documents
T Topology
A Addressing g Table
Device D S1 PC C-A Interface VLAN 1 NIC IP Address A 192.16 68.1.2 192.16 68.1.10 Subnet Mas sk 2 255.255.255.0 0 2 255.255.255.0 0 Defau ult Gateway N/A N/A
O Objectives
Part 1: Co onfigure a Basic Network k Device Cable e the network as shown in the topology. Config gure basic sw witch settings including hos stname, mana agement address, and Telnet access. Config gure an IP ad ddress on the PC.
Part 2: Ve erify and Tes st Network Connectivity C Displa ay device con nfiguration. Test end-to-end e co onnectivity wit th ping. Test remote r manag gement capability with Telnet. Save the switch running configu uration file.
R Required Resources R
1 Switch (Cisco 29 960 with Cisco o IOS Release 15.0(2) lanb basek9 image e or compara able)
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Page 1 of 8
Lab - Configuring a Switch Management Address 1 PC (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term) Console cables to configure the Cisco IOS devices via the console ports Ethernet cables as shown in the topology
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 8
Lab - Configuring a Switch Management Address g. Verify your access setting by moving between modes. S1(config)# exit S1# S1# exit Unauthorized access is strictly prohibited. S1> What shortcut keys are used to go directly from global configuration mode to privileged EXEC mode?
h. Return to privileged EXEC mode from user EXEC mode. S1> enable Password: class S1# Note: Password will not show up on screen when entering. i. Enter global configuration mode to set the SVI IP address to allow remote switch management. S1# config t S1#(config)# interface vlan 1 S1(config-if)# ip address 192.168.1.2 255.255.255.0 S1(config-if)# no shut S1(config-if)# exit S1(config)# j. Restrict console port access. The default configuration is to allow all console connections with no password needed. S1(config)# line S1(config-line)# S1(config-line)# S1(config-line)# S1(config)# k. con 0 password cisco login exit
Configure the virtual terminal (VTY) line for the switch to allow Telnet access. If you do not configure a VTY password, you will not be able to Telnet to the switch. S1(config)# line vty 0 4 S1(config-line)# password cisco S1(config-line)# login S1(config-line)# end S1# *Mar 1 00:06:11.590: %SYS-5-CONFIG_I: Configured from console by console
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 8
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 8
b. Verify the status of your SVI management interface. Your VLAN 1 interface should be up/up and have an IP address assigned. Notice that switch port F0/6 is also up because PC-A is connected to it. Because all switch ports are initially in VLAN 1, by default, you can communicate with the switch using the IP address you configured for VLAN 1. S1# show ip interface brief
Interface Vlan1 FastEthernet0/1 FastEthernet0/2 FastEthernet0/3 FastEthernet0/4 FastEthernet0/5 FastEthernet0/6 IP-Address 192.168.1.2 unassigned unassigned unassigned unassigned unassigned unassigned OK? YES YES YES YES YES YES YES Method manual unset unset unset unset unset unset Status up down down down down down up Protocol up down down down down down up
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 8
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Page 6 of 8
L Lab - Configu uring a Switc ch Managem ment Address s b. Ping the t SVI mana agement addr ress of S1. C:\Us sers\NetAc cad> ping 192.168.1. 1 2 Your output should d be similar to o the following g screen. If pi ng results are e not success sful, troublesh hoot the basic device config gurations. You u should chec ck both the ph hysical cablin ng and IP add dressing, if ne ecessary.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Page 7 of 8
b. After entering the cisco c passwo ord, you will be b at the user r EXEC mode e prompt. Type enable at th he promp pt. Enter the class c passwo ord to enter privileged EXE EC mode and issue a show w run comma and.
R Reflection
Why must t you use a co onsole conne ection to initial lly configure t the switch? W Why not conne ect to the swit tch via Telnet or SSH?
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Page 8 of 8