Professional Documents
Culture Documents
T Topology
O Objectives
Part 1: Ac ccess a Cisc co Switch thr rough the Se erial Console e Port Connect to a Cisco o switch using g a serial cons sole cable. Estab blish a console e session using a terminal emulator, su uch as Tera T Term.
Part 2: Di isplay and Configure Bas sic Device Settings Use show s commands to display y device settings. Config gure the clock k on the switc ch.
Part 3: (O Optional) Acc cess a Cisco o Router Usin ng a Mini-US B Console C Cable Note: Use ers on Netlab or other remote access eq quipment sho ould complete e only Part 2.
R Required Resources R
1 Rou uter (Cisco 19 941 with Cisco o IOS softwar re, release 15 5.2(4)M3 univ versal image o or comparable) 1 Switch (Cisco 29 960 with Cisco o IOS Release 15.0(2) lanb basek9 image e or compara able) 1 PC (Windows 7, Vista, or XP with w terminal emulation pro ogram, such as Tera Term m) Rollov 45 console po ver (DB-9 to RJ-45) R console cable to co onfigure the sw witch or route er via the RJ-4 ort Mini-U USB cable to configure the e router via the USB conso ole port
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 1 of 11
P Part 1: Access A a Cisco Sw witch thro ough the Serial Co onsole Po ort
You will connect a PC to a Cisco sw witch using a rollover r conso ole cable. Thiis connection will allow you u to access the command line interface (CLI) and display settings or configure the switch.
S Step 1: Con nnect a Cisc co switch and a computer using a r rollover con nsole cable.
a. Connect the rollove er console ca able to the RJ-45 console p port of the sw witch. b. Connect the other cable end to the serial CO OM port on the e computer. Note: Serial COM ports are no longer availab ble on most c computers tod day. A USB-to o-DB9 adapte er can be used with the rollov ver console cable c for cons sole connectio on between th he computer a and a Cisco d device. These e USB-to-DB9 9 adapters ca an be purchas sed at any co mputer electr ronics store. Note: If using a US SB-to-DB9 ad dapter to conn nect to the CO OM port, you may be requi ired to install a driver for the e adapter pro ovided by the manufacturer r on your com mputer. To det termine the C COM port use ed by the adapt ter, please se ee Part 3 Step p 4. The corre ect COM port number is req quired to connect to the Cisco IOS device e using a term minal emulato or in Step 2. c. Powe er up the Cisco o switch and computer if th hese devices are not alrea ady on.
S Step 2: Con nfigure Tera a Term to es stablish a console c ses ssion with th he switch.
Tera Term m is a termina al emulation program. p This program allo ows you to access the term minal output of the switch. It also a allows yo ou to configur re the switch. te Tera Term a. Start Tera T Term by y clicking the Windows Sta art button loc cated in the ta ask bar. Locat m under All Pr rograms. Note: If the program is not insta alled on the sy ystem, Tera T Term can be d downloaded f from the follow wing link by selecting Tera Term T : http:// /logmett.com/ /index.php?/download/free e-downloads.h html
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 2 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T b. In the e New Connec ction dialog box, click the Serial S radio b button. Verify that the corre ect COM port is select ted and click OK to continu ue.
c.
From the Tera Term Setup men nu, choose the Serial port t to verify th he serial settings. The defa ault param meters for the console port t are 9600 bau ud, 8 data bits s, no parity, 1 stop bit, and d no flow cont trol. The Tera Term T default settings matc ch the console e port settings s for commun nications with h the Cisco IO OS switch.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 3 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T d. When n you can see e the terminal output, you are a ready to c configure a Ci isco switch. T The following console example displays the t terminal output o of the switch s while it t is loading.
Which h IOS image version v is cur rrently in use by your switc ch?
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 4 of 11
b. The clock c setting is s changed in the privileged d EXEC mode e. Enter the p privileged EXE EC mode by t typing enabl le at the user r EXEC mode e prompt. Switc ch> enable e c. Config gure the clock k setting. The e question ma ark (?) provide es help and a allows you to d determine the e expec cted input for configuring th he current tim me, date, and year. Press E Enter to comp plete the clock k config guration. Switc ch# clock set ?
hh: :mm:ss Curr rent Time
d. Enter the show clo ock command d to verify tha at the clock se etting was updated. ch# show clock c Switc
15:08 8:07.205 UTC C Fri Oct 26 2 2012
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 5 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T Note: You u must use either the USB port or the RJ-45 R port, an d not both sim multaneously. When the U USB port is used, it takes priority y over the RJ-45 console port p used in P Part 1.
S Step 1: Set up the phy ysical conne ection with a mini-USB B cable.
a. Connect the mini-U USB cable to the mini-USB B console port rt of the router r. b. Connect the other cable end to a USB port on o the comput ter. c. Powe er up the Cisco o router and computer, c if these devices s are not alrea ady on.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 6 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T Note: Afte er the files are e extracted, th he folder cont tains instructiions for installation and rem moval and ne ecessary drivers for r different ope erating system ms and architectures. Plea ase choose th he appropriate e version for y your system. When the e LED indicato or for the USB B console por rt has turned g green, the US SB console po ort is ready fo or access.
S Step 3: (Op ptional) Ena able the COM M port for the Window ws 7 PC.
If you are using a Micro osoft Window ws 7 PC, you may m need to p perform the fo ollowing steps to enable th he COM port: a. Click the Windows s Start icon to o access the Control Pane el. b. Open the Device Manager M . c. Click the Ports (CO OM & LPT) tr ree link to exp pand it. The C Cisco Virtual Comm Port00 icon displa ays with a yellow w exclamation n point attache ed.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 7 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T d. To res solve the issu ue, right-click the Cisco Virtual Comm Port00 icon a and choose U Update Drive er Softw ware. e. Choose Browse my m computer r for driver so oftware.
f.
Choose Let me pic ck from a lis st of device drivers d on my y computer a and click Nex xt.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 8 of 11
L Lab - Establis shing a Cons sole Session n with Tera Term T g. Choose the Cisco Serial driver r and click Next.
d driver is installed successfully. Ta ake note of th he port numbe er assigned a at the top of th he h. The device windo ow. In this sam mple, COM 6 is used for co ommunication n with the rou uter. Click Clo ose.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 9 of 11
b. Open Tera Term. Click C the Serial radio butto on and choose e Port COM6 6: Cisco Serial (COM 6). T This port should now be ava ailable for com mmunication with w the route er. Click OK.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Pa age 10 of 11
Reflection
1. How do you prevent unauthorized personnel from accessing your Cisco device through the console port?
2. What are the advantages and disadvantages of using the serial console connection as compared to the USB console connection to a Cisco router or switch?
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. There is no way to effectively list all the combinations of configurations for each router class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device. The table does not include any other type of interface, even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 11 of 11