Lab 5 - Configuring Basic Router Settings
Lab 5 - Configuring Basic Router Settings
Topology
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>
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#
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.