0% found this document useful (0 votes)
739 views20 pages

CCENT Lab 2 1 Performing Initial Router Setup v1.0.1

The document provides instructions for performing initial router setup, including tasks to configure the router, improve the CLI usability, discover network neighbors using Cisco Discovery Protocol, and complete an assessment lab. The lab topology shows 5 devices with IP addresses on the 10.1.1.0/24 subnet and a table lists configuration commands for the router setup.

Uploaded by

Bijay Lama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
739 views20 pages

CCENT Lab 2 1 Performing Initial Router Setup v1.0.1

The document provides instructions for performing initial router setup, including tasks to configure the router, improve the CLI usability, discover network neighbors using Cisco Discovery Protocol, and complete an assessment lab. The lab topology shows 5 devices with IP addresses on the 10.1.1.0/24 subnet and a table lists configuration commands for the router setup.

Uploaded by

Bijay Lama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

CCENT L A B GUIDE 2 -1

Interconnecting Cisco Network Devices


version 3.0

DAVID
DAVID
BOMBAL
BOMBAL
David Bombal CCNA Lab Lab 2.1

Lab 2-1 Performing Initial Router Setup


During this activity, you will observe the router boot process and complete the
following tasks;

Task 1: Performing Initial Router Setup and Configuration

Task 2: Create the Router Initial Configuration

Task 3: Improve the Usability of the Router CLI

Task 4: Discover Connected Neighbors with Cisco Discovery Protocol

Task 5: Can you complete the Assessment Lab

om
Visual Objective Lab 2-1 Performing Initial Router Setup

l.c
ba
om
db
vi
da

Rev 1.0.1 L2.1-1


David Bombal CCNA Lab Lab 2.1

Visual Objective Lab 2-1 Lab Topology and IP Addressing

om
l.c
ba
om
db
vi

Device IP Address Subnet Mask


da

Branch F0/0 10.1.1.1 255.255.255.0

SW1 VLAN 1 10.1.1.11 255.255.255.0

SW2 VLAN 1 10.1.1.12 255.255.255.0

PC1 10.1.1.100 255.255.255.0

PC2 10.1.1.101 255.255.255.0

Rev 1.0.1 L2.1-2


David Bombal CCNA Lab Lab 2.1

NOTE: The following table of commands is reference only. Do not try to type them all
in your lab now. Follow the steps after the table.

Command List Useful Shortcut Command Description

>enable >en Activates privilege exec


mode

#show version #sh ver Displays the


configuration of
hardware and software
of the device

om
#erase startup- #erase start Erase the startup-config
config in NVRAM

l.c
#show startup- #sh start Displays the current
config configuration in RAM
ba
#reload Restarts the device and
Operating System
om

#configure #conf t Activates configuration


terminal Mode from the terminal

(config)#hostname Sets the system name


db

‘hostname’

(config)#interface (config)#int f0/0 Enters interface


‘type/number’
vi

configuration mode

(config- (config-if)#desc Enters a description for


da

if)#description an interface
‘description’

(config-if)#ip (config-if)#ip add Enters an IP address


address ‘ip on an interface
address/subnet
mask’

(config-if)#no (config-if)#no sh Enables an interface


shutdown

config-if)#speed Sets the speed for the


‘10/100/1000’ interface

(config-if)#duplex Sets the duplex for the


‘auto/full/half interface

Rev 1.0.1 L2.1-3


David Bombal CCNA Lab Lab 2.1

(config-if)#end (config-if)#^Z (ctrl Ends any configuration


+Z mode or sub-mode and
Returns the prompt to
privileged exec #

#show ip interface #sh ip int brief Displays the current IP


brief interface status

#show interface #sh int f0/0 Displays the current


‘type/number’ interface statistics

#show running- #sh run Displays the current


config configuration in RAM

om
#ping ‘ip-address’ Uses icmp echo-
request and echo-
replies to determine
connectivity exists
#copy running-
config startup-
l.c
#copy run start Copies the running
(RAM) config to
ba
config Startup-config
(NVRAM)
om

#? Help may be requested


at any point in a
command by entering
a question mark '?'. If
db

nothing matches, the


help list will be empty
and you must backup
vi

until entering a '?'


shows the available
da

options.

(config)#no ip Disables name


domain lookup resolution lookups

(config)#line (config)#line con 0 Enters line console 0


console 0 mode

Rev 1.0.1 L2.1-4


David Bombal CCNA Lab Lab 2.1

(config- Sets the exec prompt


line)#exec-timeout idle timeout values
‘minutes ‘seconds’

(config- config-line)#logg s Synchronizes privilege


line)#logging exec unsolicited
synchronous messages and debugs
output and presents a
new line for solicited
messages and debugs

om
#show cdp Displays CDP status

#show cdp Displays CDP interface


interface statistics

l.c
#show cdp Displays CDP neighbor
neighbors information
ba
#show cdp Displays detailed CDP
neighbors detail neighbor information
om
db

Initial Lab Setup


vi

In order to successfully complete this lab, open the initial Packet Tracer file ‘CCENT
Lab 2-1 Performing Initial Router setup.pkt’
da

Rev 1.0.1 L2.1-5


David Bombal CCNA Lab Lab 2.1

Task 1: Inspect the Router Hardware and Software


In this task, you will inspect the router’s hardware and software, verify whether a
startup configuration file exists and if so, delete it. You will then proceed to reload the
device and view the output as the router goes through its boot process.

Step 1: Access the CLI of the Branch router and enter privilege exec mode

Branch> enable

Branch#

Step 2: Using the correct command, display the current Branch router hardware,
software and device information to complete the table below

om
Router Model

Serial Number

l.c
ba
RAM

FLASH
om

Software Version
db

System image file/location

NVRAM
vi
da

Branch# show version

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version


15.1(4)M4, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thurs 5-Jan-12 15:41 by pt_team

ROM: System Bootstrap, Version 15.1(4)M4, RELEASE SOFTWARE (fc1)


cisco2901 uptime is 5 days, 22 hours, 2 minutes, 49 seconds
System returned to ROM by power-on
System image file is "flash0:c2900-universalk9-mz.SPA.151-1.M4.bin"
Last reload type: Normal Reload

This product contains cryptographic features and is subject to


United States and local country laws governing import, export,

Rev 1.0.1 L2.1-6


David Bombal CCNA Lab Lab 2.1

transfer and use. Delivery of Cisco cryptographic products does not


imply third-party authority to import, export, distribute or use
encryption. Importers, exporters, distributors and users are
responsible for compliance with U.S. and local country laws. By
using this product you agree to comply with applicable laws and
regulations. If you are unable to comply with U.S. and local laws,
return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be


found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email


to [email protected].
Cisco CISCO2901/K9 (revision 1.0) with 491520K/32768K bytes of
memory.
Processor board ID FTX152400KS
2 Gigabit Ethernet interfaces
4 Low-speed serial(sync/async) network interface(s)
DRAM configuration is 64 bits wide with parity disabled.

om
255K bytes of non-volatile configuration memory.
249856K bytes of ATA System CompactFlash 0 (Read/Write)

l.c
License Info:

License UDI:
ba
--------------------------------------------------------------
Device# PID SN
---------------------------------------------------------------
om

*0 CISCO2901/K9 FTX15248VLK
db

Technology Package License Information for Module:'c2900'

--------------------------------------------------------------------
vi

----------------------------
Technology Technology-package Technology-package
Current Type Next reboot
da

--------------------------------------------------------------------
----------------------------
ipbase ipbasek9 Permanent ipbasek9
security disable None None
uc disable None None
data disable None None

Configuration register is 0x2102

Rev 1.0.1 L2.1-7


David Bombal CCNA Lab Lab 2.1

Step 3: Using the correct show command, verify whether the router has a startup
configuration. If it does, erase the configuration by issuing the correct ‘erase’
command. If the router does not have a startup-config, continue to reload the device
(do not save the config if you are prompted to at reload!)

The show start command is only available from privilege exec mode

Branch# sh startup-config

Using 947 bytes


!
! Last configuration change at 10:55:17 UTC Thu May 2 2013
!
version 15.1
service timestamps debug datetime msec

om
service timestamps log datetime msec
no service password-encryption
!

l.c
hostname Branch
!
---output omitted---
ba
CTRL + C pressed
om

Branch# erase startup-config

Erasing the nvram filesystem will remove all configuration


files!
db

Continue? [confirm] !Press Enter to confirm at this point


[OK]
Erase of nvram: complete
vi

%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram


da

Branch# sh startup-config

startup-config is not present

Rev 1.0.1 L2.1-8


David Bombal CCNA Lab Lab 2.1

Step 4: Reload the router

Branch# reload

Proceed with reload? [confirm]

System Bootstrap, Version 15.1(4)M4, RELEASE SOFTWARE (fc1)


Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.
Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB
CISCO2901/K9 platform with 524288 Kbytes of main memory
Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC
disabled

Read only ROMMON initialized

om
program load complete, entry point: 0x80803000, size: 0x1b340
program load complete, entry point: 0x80803000, size: 0x1b340

IOS Image Load Test

l.c
___________________
Digitally Signed Release Software
program load complete, entry point: 0x81000000, size: 0x3bcd3d8
ba
Self decompressing the image
############################################################# [OK]
Smart Init is enabled
smart init is sizing iomem
om

TYPE MEMORY_REQ
HWIC Slot 0 0x00200000
HWIC Slot 1 0x00200000
HWIC Slot 2 0x00200000
db

HWIC Slot 3 0x00200000 Onboard devices &


buffer pools 0x0228F000
vi

-----------------------------------------------
TOTAL: 0x0428F000
Rounded IOMEM up to: 69Mb.
da

Using 6 percent iomem. [69Mb/512Mb]

Restricted Rights Legend

Use, duplication, or disclosure by the Government is


subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version


15.1(4)M5, RELEASE SOFTWARE (fc2)Technical Support:

Rev 1.0.1 L2.1-9


David Bombal CCNA Lab Lab 2.1

http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
Image text-base: 0x2100F918, data-base: 0x24729040

This product contains cryptographic features and is subject to


United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use
encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product
you
agree to comply with applicable laws and regulations. If you are
unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be

om
found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email

l.c
to
[email protected].
ba
Cisco CISCO2901/K9 (revision 1.0) with 491520K/32768K bytes of
memory.
om

Processor board ID FTX152400KS


2 Gigabit Ethernet interfaces
4 Low-speed serial(sync/async) network interface(s)
DRAM configuration is 64 bits wide with parity disabled.
db

255K bytes of non-volatile configuration memory.


249856K bytes of ATA System CompactFlash 0 (Read/Write)
vi

--- System Configuration Dialog ---


Would you like to enter the initial configuration dialog? [yes/no]:
da

Activity Verification
1. You collected Hardware and Software device information
2. You erased the startup configuration
3. You reloaded the router and observed the startup output

Rev 1.0.1 L2.1-10


David Bombal CCNA Lab Lab 2.1

Task 2. Create the Initial Router Configuration


For this activity, you will again skip the initial configuration dialogue and manually
configure the router. During the initial setup, you will configure various system
parameters and router interfaces.

Step 1: Skip the initial configuration and enter privilege exec mode

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog?


[yes/no]: no

Press RETURN to get started!

om
Router>en

Step 2: Configure the hostname of the router to Branch. Save your configuration at

l.c
this prompt also.
Router#
ba
Router# conf t
Router(config)# hostname Branch
om
db

Did You know?


Cisco IOS also lets you execute any user or privilege exec command from
any higher level mode if you use the do keyword. For example, you can see
vi

below that the configuration has been saved by using the do command in
front of the privilege exec ‘copy run start’ command. Without the do keyword
da

an error would be returned as shown here


Branch(config)#copy run start
^
% Invalid input detected at '^' marker.

This will also mean that you will be in the correct mode to execute the next

Branch(config)# do copy run start

Destination filename [startup-config]?


Building configuration...
[OK]

Rev 1.0.1 L2.1-11


David Bombal CCNA Lab Lab 2.1

Step 3. Enable the G0/1 interface of the router and set a description to Link to LAN
SW1:

Branch(config)# int G0/1

Branch(config-if)# no shut

*Jun 28 16:59:46.067: %LINK-3-UPDOWN: Interface


GigabitEthernet0/1, changed state to up
*Jun 28 16:59:47.067: %LINEPROTO-5-UPDOWN: Line protocol on
Interface GigabitEthernet0/1, changed state to up

Branch(config-if)# description Link to LAN SW1

Remember:

om
Don't forget to set the speed and duplex manually to match the settings
on SW1 F0/2 interface, otherwise you may have issues with the
interface.

l.c
ba
Branch(config-if)# speed 100
om

Branch(config-if)# duplex full

%LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/1, changed state to up
db
vi
da

Step 4: Configure the GigabitEthernet0/1 interface with the IP address of 10.1.1.1


and a subnet mask of 255.255.255.0. Enable the interface, then exit to privilege exec
prompt after setting the IP address.

Branch (config-if) #ip address 10.1.1.1 255.255.255.0


Branch (config-if) #end

Rev 1.0.1 L2.1-12


David Bombal CCNA Lab Lab 2.1

Step 5: Verify interface GigabitEthernet0/1 status, description and IP Address by


using a suitable command

Branch# sh interfaces g0/1

GigabitEthernet0/1 is up, line protocol is up (connected)


Hardware is CN Gigabit Ethernet, address is
00e0.f702.1e02 (bia 00e0.f702.1e02)
Description: to LAN SW1
Internet address is 10.1.1.1/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload
1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is RJ45
output flow-control is unsupported, input flow-control

om
is unsupported
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Input queue: 0/75/0 (size/max/drops); Total output

l.c
drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
ba
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 13 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
om

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles


0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored,
0 abort
0 watchdog, 1017 multicast, 0 pause input
db

0 input packets with dribble condition detected


6 packets output, 512 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
vi

0 unknown protocol drops


0 babbles, 0 late collision, 0 deferred
da

0 lost carrier, 0 no carrier


0 output buffer failures, 0 output buffers swapped out

---output omitted---

Step 6: Save your current configuration to NVRAM

Branch# copy run start

Destination filename [startup-config]


Building configuration…
[OK]

Rev 1.0.1 L2.1-13


David Bombal CCNA Lab Lab 2.1

Activity Verification

1. The Console prompt display Branch#


2. You verified connectivity with PC1 by pinging PC1 IP Address

Branch# ping 10.1.1.100

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:


.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms

om
Verify connectivity with PC1 by pinging PC1 IP Address (don’t worry too much if the
first pings time out – This is normal operation for Spanning-Tree operations - just

l.c
repeat the ping after 30 seconds and it should be successful)

Remember the first ping may timeout, as the router needs to resolve ARP (Address
ba
Resolution Protocol) to obtain the layer 2 MAC address of the PC before the packet
can be sent.
om
db
vi
da

Rev 1.0.1 L2.1-14


David Bombal CCNA Lab Lab 2.1

Task 3. Improve the Usability of the CLI


In this section, you will enter commands that will improve the usability of the CLI. You
will increase the inactivity timer on the console port, stop attempted name resolution
lookups and prevent unsolicited messages interrupting your session. You already
configure these settings on the Switch initial configuration lab.

Remember?

Can you remember the commands for the steps below?

Step 1: On Branch change the exec timeout on the console line from the default of
10 minutes to 60 minutes of inactivity and enable synchronous logging of unsolicited
messages and debugs:

om
Branch# conf t

l.c
Branch(config)# line con 0

Branch(config-line)# exec-timeout 60 0
ba
Branch(config-line)# logging sync
om

Step 2: Disable the resolution of symbolic names to prevent mistyped commands


being translated into system lookups
db
vi

Remember?
da

Can you remember the commands for the steps below?

Branch(config-line)# exit

Branch(config)# no ip domain-lookup

Rev 1.0.1 L2.1-15


David Bombal CCNA Lab Lab 2.1

Step 3: Exit from global mode and return to privilege exec mode. Save your
configuration as usual.

Branch(config)# exit

Branch# copy run start

Destination filename [startup-config]


Building configuration…
[OK]

Activity Verification

om
1. You have set the inactivity timeout on the Console to 60 minutes.
2. You have enabled synchronous logging on the Console line.
3. You have disabled resolution of symbolic names.

l.c
ba
om
db
vi
da

Rev 1.0.1 L2.1-16


David Bombal CCNA Lab Lab 2.1

Task 4. Discover Connected Neighbours with Cisco Discovery


Protocol (CDP)
CDP is a Cisco Proprietary protocol that runs by default between directly connected
neighbours on a network and this task will allow you to gather information about
neighbour devices and their capabilities and Routed Protocol Addresses.

It can also be a security risk as ‘hackers’ can discover what your network looks like.
It is therefore often turned off in the real world.

Step 1: On Branch, issue the show cdp command to verify that cdp is enabled and
its global parameters

Branch> en

Branch# sh cdp

om
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled

l.c
ba
You could also use the show cdp interface command to view the cdp statistics
about specific interfaces
om

Branch# sh cdp interface


Vlan1 is administratively down, line protocol is down
db

Sending CDP packets every 60 seconds


Holdtime is 180 seconds
GigabitEthernet0/0 is administratively down, line protocol is
vi

down
Sending CDP packets every 60 seconds
da

Holdtime is 180 seconds


GigabitEthernet0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1/0 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1/1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/2/0 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/2/1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds

Rev 1.0.1 L2.1-17


David Bombal CCNA Lab Lab 2.1

As you can see, CDP hellos are sent out every 60 seconds by default, and the
holdtime is by default 180 seconds. Do not make the mistake some engineers do -
as soon as they "no shut" an interface, they type show cdp nei and are surprised
that nothing displays. They then troubleshoot an issue that does not exist.
Remember - you need to wait at least 60 seconds before troubleshooting why a CDP
neighbor is not displayed in the output!

Step 2: On Branch, use the following command to display all neighbouring Cisco
Devices.

Branch# sh cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route


Bridge
S - Switch, H - Host, I - IGMP, r -

om
Repeater, P - Phone,

Device ID Local Intrfce Holdtme Capability Platform Port ID

SW1 Fas 0/0 148 S I WS-C2960- Fas 0/2

l.c
ba
You may actually see the HQ router too in the display, depending on your interface
status.
om

Step 3. Using the detail option on the end of this show command will display
additional details regarding the directly connected devices. Notice the highlighted
db

sections.
Branch# sh cdp neighbors detail
vi

-------------------------
Device ID: SW1
da

Entry address(es):
IP address : 10.1.1.11
Platform: cisco 2960, Capabilities: Switch
Interface: GigabitEthernet0/1, Port ID (outgoing port):
FastEthernet0/2
Holdtime: 172

Version :
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version
12.2(25)FX, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team

advertisement version: 2
Duplex: full

Rev 1.0.1 L2.1-18


David Bombal CCNA Lab Lab 2.1

Step 4. Save the current configuration to NVRAM

Branch# copy run start

Building configuration...

[OK]

You have completed the Initial setup of the router.

Task 5: Can you complete the Assessment Lab


A legal company has contracted you to setup their new Router and test connectivity
with their internal devices at the same time. The external connections to the ISP and

om
HQ routers will be configured later.

Using the Packet Tracer Assessment file ‘CCENT Lab 2-1 Router Initial Setup and
Configuration PTSA.pka’ the contract requires you to configure and test the

l.c
following:

1. Establish connectivity between PC1, PC2, SW1 and SW2 and the Branch router.
ba
The Branch router will act as the gateway for all LAN devices and connectivity
should be tested from the router to all devices to ensure full connectivity exists.
2. Configure the Branch router with the hostnames of Branch
om

3. Configure the Routers LAN interface with the IP address 10.1.1.1/24 and enable
the interface
4. Configure the interface speed and duplex settings to match SW1
5. Configure the router to disable symbolic name resolution
db

6. Configure the router to have a permanent history of 50 lines


7. Configure a description on the interface to the LAN Switch of 'Link to LAN SW1'
8. Configure the router with an inactivity timer of 30 minutes on the console and
vi

disable any unsolicited messages and debugs from interrupting a console


session.
da

9. Configure the interfaces facing the ISP router with a description of '
G0/0 Link to ISP Router', enabling the interface, but disabling CDP message
across this interface.
10. Configure the interface facing the HQ router with 'G0/0/0 Link to HQ Router',
enabling the interface and ensuring the CDP messages are enabled on this
interface.
11. Save the configuration on the Branch Router

Rev 1.0.1 L2.1-19

You might also like