Beruflich Dokumente
Kultur Dokumente
Objectives
In this lab you will connect to the routers in your pod in the remote lab and put a basic
configuration on them using the initial configuration dialog. You will then add some
commands to improve the usability of the router CLI
The switch in your pod already has a configuration. The routers start this lab powered off,
with their startup configuration files erased. Therefore when the routers boot up they are
unable to find a configuration in NVRAM; they start up the initial configuration dialog
which allows basic configuration tasks to be performed in an interactive, question-based
mode.
Use the initial configuration dialog to put a basic configuration on each router.
Important Substitute your pod number for x and the router number for y in all instructions
and commands.
console: cisco
Lab Topology
Fa0/0 192.168.xx.2/24
PxR2
S1/1 192.168.x.202/27
Student PC
Core Router
PxSW 192.168.x.200/27
VLAN 1 192.168.xx.10/24
Fa0/2
Frame Relay
Fa0/1
Fa0/10
Fa0/11 Fa0/12 Core Switch
S1/1 192.168.x.201/27
TFTP Server
10.1.1.1
Warning If ‘Tarantella’ is used in this Lab it will be necessary to switch the firewall mode. You
can access Tarantella by changing the firewall mode from “standard” to “tarantella” on
the upper left of the web browser screen.
Note If you receive a ‘Web Services Failure’ notice when attempting to access the
xAccessPC it is quite possible that you clicked on the ‘X’ at the top of the
AccessPC window rather than using the ‘Start/Logout’ option. If you attempt to
reconnect you will get the ‘Web Services Failure’ message in the Tarantella
window. To fix this problem you must logout of the labs system, close your
browser, dismiss the Tarantella/SGD task tray icon and re-launch your browser,
delete cookies, and log back in to the labs
Note Some of the information displayed in this Lab from screen captures may differ
from the information that the student sees displayed from commands entered on
the Remote Labs equipment. The information that was captured for the lab
guide was taken from a 2600 series router and some of the Remote Lab
equipment uses a 2800 series router. The commands used and the
functionality of the lab is the same but the output information may be a little
different.
Command List
The following table lists the commands used in this lab, in alphabetical order.
2. Similar to connecting to your switch, click on the PxRy link (where x is your pod number
and y is the router number; for example, if you are in Pod 3, R1’s link will be P3R1).
The link will expand and you will see a set of links below it.
Note Start with either of your routers; you will configure both of your routers in this
lab.
3. To connect to your PxRy console click on the “Xterm Telnet” link. If a security warning
appears, click “Run”.
5. The terminal window that appears will ask for a password. Enter your e-lab password
and press <Enter>.
Important Remember that this is the password that used to login to www.remotelabs.com.
You will need to use this password to log into the terminal server every time you
start up a connection to one of the devices in your pod.
<output omitted>
8. Enter setup mode by typing “y” or “yes” and pressing <Enter>. Throughout the
configuration dialog shown here, your responses are shown in bold.
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog?
[yes/no]:yes
Note If you make a mistake during the initial configuration dialog and want to restart,
press <Control-C> to exit and then go to privileged mode and enter the setup
command.
Router>enable
Router#setup
--- System Configuration Dialog ---
9. Notice that the default answer/setting to queries is in square brackets; press <Enter> to
accept the default, or type another response after the colon and then press <Enter>.
Decline entering basic management setup by entering “n” or “no”. You may opt to
review interfaces by answering “yes” to the interface summary question.
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
First, would you like to see the current interface summary? [yes]:
Any interface listed with OK? value "NO" does not have a valid
configuration
Note The number and type of interfaces on your router may be different than the
example shown.
10. Enter PxRy (where x is your pod number and y is the router number) as the name for
your router. For example, the name of Pod 2 R1 is P2R1.
Configuring global parameters:
Important Remember to type your pod number instead of x and the router number instead
of y!
11. Next, you will be asked to enter passwords for the router; use the passwords in the
following table:
Router passwords
Password Description Password Usage
enable secret san-fran Privileged access (encrypted)
enable password notused Privileged access (not encrypted; this
password is deprecated)
virtual terminal password router Telnet
Note All passwords are case sensitive; enter them exactly as shown.
The enable secret password is used to control access to privileged mode. It is saved in
the configuration in a hashed (encrypted) form, unlike the enable password. If both
passwords are specified, the enable secret overrides the enable password (thus the clever
enable password in the above table); note that in the initial configuration dialog you must
enter both of these passwords. The virtual terminal password controls telnet access.
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: san-fran
13. The router will ask if you want to configure IP; answer yes. Answer no when asked if
you want to configure the RIP routing protocol (RIP is configured in a later lab).
Configure IP? [yes]: yes
Configure RIP routing? [yes]: no
14. The router will ask if you want to configure CLNS and bridging; answer no to both
questions.
Configure CLNS? [no]: no
Configure bridging? [no]: no
If the router you are configuring has an ISDN BRI interface, you will be asked to chose a
switch-type; type 0 if asked this question.
BRI interface needs isdn switch-type to be configured
Valid switch types are :
[0] none..........Only if you don't want to
configure BRI.
[1] basic-1tr6....1TR6 switch type for Germany
[2] basic-5ess....AT&T 5ESS switch type for the
US/Canada
[3] basic-dms100..Northern DMS-100 switch type for
US/Canada
[4] basic-net3....NET3 switch type for UK and
Europe
[5] basic-ni......National ISDN switch type
[6] basic-qsig....QSIG switch type
[7] basic-ts013...TS013 switch type for Australia
[8] ntt...........NTT switch type for Japan
[9] vn3...........VN3 and VN4 switch types for
France
Choose ISDN BRI Switch Type [2]: 0
15. Asynchronous interfaces are not setup in this course. Choose “no” if asked to configure
async lines.
Async lines accept incoming modems calls. If you will have
users dialing in via modems, configure these lines.
Configure the FastEthernet 0/0 interface. Accept the default connector. Type “yes” when
asked if you want the interface to operate in full-duplex mode. Use the IP address
192.168.xx.y (where x is your pod number and y is the router number); for example, for
Pod 2 R1 the address is 192.168.22.1. Use the default subnet mask 255.255.255.0.
Do you want to configure FastEthernet0/0 interface? [yes]: yes
Use the 100 Base-TX (RJ-45) connector? [yes]:
CCNA Lab Guide L5-11
© Global Knowledge Training LLC
Router Startup and Initial Configuration
Important Remember to type your pod number for each x and the router number for the y!
17. Do not configure any of the other the interfaces at this time.
Do you want to configure FastEthernet0/1 interface? [yes]: no
The router may display several pages of output. Pressing <Enter> will display one line at
a time; pressing the <space bar> will move forward a page at a time.
The following configuration command script was created:
hostname PxRy
enable secret 5 $1$1cOg$JPY9bTbxWTB9wnQYS4PhP0
enable password notused
line vty 0 4
password router
no snmp-server
!
ip routing
no clns routing
no bridge 1
isdn switch-type none
!
interface FastEthernet0/0
media-type 100BaseX
full-duplex
ip address 192.168.xx.y 255.255.255.0
no mop enabled
!
interface FastEthernet0/1
shutdown
no ip address
!
interface Serial1/0
shutdown
no ip address
!
interface Serial1/1
shutdown
no ip address
!
interface Serial1/2
shutdown
no ip address
!
interface Serial1/3
shutdown
no ip address
dialer-list 1 protocol ip permit
!
end
20. If you are satisfied with your configuration, select “2” at the prompt to save the
configuration to NVRAM and exit the initial configuration dialog.
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Note Enter setup mode by typing “y” or “yes” and pressing <Enter>.
Notice that the default idle timeout is 10 minutes and the default history buffer size is 20.
You could change the history size for this terminal session using the EXEC #terminal
history size command; however you would have to retype this command next time you
login to the router. Instead, the history size can be changed under the console or virtual
terminal line configuration so that it is always set to the new value.
24. Change the history size for the console line to 100.
PxRy#conf t
Enter configuration commands, one per line. End with CNTL/Z.
PxRy(config)#line con 0
PxRy(config-line)#history size 100
25. Change the EXEC inactivity timer on the console line from its default of 10 minutes to 60
minutes.
PxRy(config-line)#exec-timeout 60
26. Synchronize unsolicited messages and output from debug commands with the CLI input
on the console line.
PxRy(config-line)#logging synchronous
PxRy(config-line)#exit
27. The router has five virtual terminal lines by default: vty 0 4. Put the same on all of the
virtual terminal lines: change the history size to 100, change the EXEC inactivity timer to
60 minutes, and synchronize messages.
PxRy(config)#line vty 0 4
PxRy(config-line)#history size 100
PxRy(config-line)#exec-timeout 60
PxRy(config-line)#logging synchronous
PxRy(config-line)#exit
28. Disable DNS lookup for entries on the command line.
PxRy(config)#no ip domain-lookup
29. Exit configuration mode. Use the Up arrow to recall the show terminal command and
press <Enter>. Notice the parameters that have changed.
PxRy(config)#exit
PxRy#
*Mar 8 00:37:54.130: %SYS-5-CONFIG_I: Configured from console by
console
PxRy#show terminal
Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: PSI Enabled, Ready, Active, Automore On
Capabilities: none
Modem state: Ready
CCNA Lab Guide L5-15
© Global Knowledge Training LLC
Router Startup and Initial Configuration
STOP You have completed this lab, you may choose to explore the
information that you entered in more detail before the moving on to another
lab. Good job!
Completed Configuration
Your configuration should be similar to the example below. Notice that the enable secret
is saved in hashed form.
PxRy#show running-config
Building configuration...
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.xx.y 255.255.255.0
speed auto
full-duplex
no mop enabled
!
interface BRI0/0
no ip address
encapsulation hdlc
shutdown
isdn point-to-point-setup
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
no dce-terminal-timing-enable
!
!
!
ip http server
no ip http secure-server
!
dialer-list 1 protocol ip permit
L5-18 CCNA Lab Guide
©Global Knowledge Training LLC
Router Startup and Initial Configuration
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 60 0
logging synchronous
history size 100
line aux 0
line vty 0 4
exec-timeout 60 0
password router
logging synchronous
login
history size 100
!
!
end
PxRy#