0% found this document useful (0 votes)
139 views

Lab 5 - Configuring Basic Router Settings

The document provides instructions for configuring basic settings on a router and switch, including: 1) Initializing the devices by erasing startup configurations and reloading to remove any previous configurations; 2) Configuring basic settings on the router such as passwords, interfaces, IP addresses and a banner message; 3) Verifying network connectivity between devices using ping and remote access.

Uploaded by

Omar Negm
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)
139 views

Lab 5 - Configuring Basic Router Settings

The document provides instructions for configuring basic settings on a router and switch, including: 1) Initializing the devices by erasing startup configurations and reloading to remove any previous configurations; 2) Configuring basic settings on the router such as passwords, interfaces, IP addresses and a banner message; 3) Verifying network connectivity between devices using ping and remote access.

Uploaded by

Omar Negm
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/ 4

Lab 4– Configuring Basic Router Settings with IOS CLI

Topology

Part 1: Set Up the Topology and Initialize Devices


Step 1: Cable the network as shown in the topology.
a. Attach the devices as shown in the topology diagram, and cable as necessary.
b. Power on all the devices in the topology.

Step 2: Initialize and reload the router and switch.


Initialize and reload the router.
a. Console into the router and enable privileged EXEC mode.
Router> enable
Router#
b. Type the erase startup-config command to remove the startup configuration from NVRAM.
Router# erase startup-config
Erasing the nvram file system will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
c. Issue the reload command to remove an old configuration from memory. When prompted to Proceed
with reload, press Enter to confirm the reload. (Pressing any other key aborts the reload.)
Router# reload
Proceed with reload? [confirm]
Note: You may be prompted to save the running configuration prior to reloading the router. Type no
and press Enter.
System configuration has been modified. Save? [yes/no]: no
d. After the router reloads, you are prompted to enter the initial configuration dialog. Enter no and press
Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no

Step 2: Initialize and reload the switch.


a. Console into the switch and enter privileged EXEC mode.

Switch> enable
Switch#
b. Use the show flash command to determine if any VLANs have been created on the switch.
Switch# show flash
Directory of flash:/
2 -rwx 1919 Mar 1 1993 00:06:33 +00:00 private-config.text
3 -rwx 1632 Mar 1 1993 00:06:33 +00:00 config.text
4 -rwx 13336 Mar 1 1993 00:06:33 +00:00 multiple-fs
5 -rwx 11607161 Mar 1 1993 02:37:06 +00:00 c2960-lanbasek9-mz.150-2.SE.bin
6 -rwx 616 Mar 1 1993 00:07:13 +00:00 vlan.dat
32514048 bytes total (20886528 bytes free)
Switch#
c. If the vlan.dat file was found in flash, then delete this file.
Switch# delete vlan.dat
Delete filename [vlan.dat]?
d. You are prompted to verify the filename. At this point, you can change the filename or just press
Enter if you have entered the name correctly.
e. You are prompted to confirm deleting this file. Press Enter to confirm deletion. (Pressing any other
key aborts the deletion.)
Delete flash:/vlan.dat? [confirm]
Switch#
f. Use the erase startup-config command to erase the startup configuration file from NVRAM. You are
prompted to confirm removing the configuration file. Press Enter to confirm to erase this file. (Pressing
any other key aborts the operation.)
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
g. Reload the switch to remove any old configuration information from memory. You are prompted to
confirm reloading the switch. Press Enter to proceed with the reload. (Pressing any other key aborts the
reload.)
Switch# reload
Proceed with reload? [confirm]
Note: You may be prompted to save the running configuration prior to reloading the switch. Type no
and press Enter.
System configuration has been modified. Save? [yes/no]: no
h. After the switch reloads, you should be prompted to enter the initial configuration dialog. Type no
and press Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>

Part 2: Configure Devices and Verify Connectivity


Step 1: Configure the PC interfaces.
Configure the IP address, subnet mask, and default gateway settings on all computers.
Step 2: Configure the router.
a. Console into the router and enable privileged EXEC mode.
Router> enable
Router#

b. Enter into global configuration mode.


Router# config terminal
Router(config)#

c. Assign a device name to the router.


Router(config)# hostname R1
d. Assign cisco12345 as the privileged EXEC encrypted password.
R1(config)# enable secret cisco12345

e. Assign ciscoconpass as the console password and enable login.


R1(config)# line con 0
R1(config-line)# password ciscoconpass
R1(config-line)# login
R1(config-line)# exit
R1(config)#

f. Assign ciscovtypass as the vty password and enable login.


R1(config)# line vty 0 4
R1(config-line)# password ciscovtypass
R1(config-line)# login
R1(config-line)# exit
R1(config)#

g. Encrypt the clear text passwords.


R1(config)# service password-encryption

h. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
R1(config)# banner motd #Unauthorized access prohibited!#

i. Configure an IP address and interface description. Activate both interfaces on the router.
R1(config)# int f0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.192
R1(config-if)# no shutdown
R1(config-if)# int f0/1
R1(config-if)# ip address 192.168.1.65 255.255.255.224
R1(config-if)# no shutdown
R1(config)# int E0/0/0
R1(config-if)# ip address 192.168.1.97 255.255.255.240
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# exit
R1#

j. Save the running configuration to the startup configuration file.


R1# copy running-config startup-config
Step 3: Verify network connectivity.
a. Using Ping command.
Note: It may be necessary to disable the PCs firewall.

b. Remotely access R1 from PC-0 using the Putty Telnet client.

Open Putty and enter the Fa0/1 interface IP address of R1 in the Host: field of the Putty: New
Connection window. Ensure that the Telnet radio button is selected and then click OK to connect to the
router.

Step 5: Display a summary list of the interfaces on the router.


Use the show ip interface brief command on the router to answer the following question.
R1# show ip interface brief

You might also like