Question: PREP WORK Grab a switch from the table and set it up on your work area. Grab a blue console cable (Serial-RJ45) and a standard
PREP WORK
Grab a switch from the table and set it up on your work area. Grab a blue console cable (Serial-RJ45) and a standard BMC Power cable from the supply area.
Download the following 3 things to your computer.
Putty (The Terminal Program) PUTTY.EXE
tftpd64.exe (TFTP Server program)
tftp64.exe
The latest Cisco IOS Version that was made for the switch you have (2960, 3560)
CISCO
Plug in the console cable into the Serial Port of your computer and the console port of your switch. Open putty, choose serial, type in the correct COM port (found in device manager) and press open. Now power up the switch, you'll see text scrolling across the terminal window. Press and hold the Mode button until all the lights start flashing, allow it to reboot.
NOTE: If at any point you need to stop and power off the switch type copy run start to save the config changes you have made to memory. Don't forget if you give your PC a static IP to change it back when you need back onto the network.
THE LAB
When it boots up it will ask you to start the configuration wizard, type NO Type enable to enter the enable mode, type configure terminal to enter the global config mode.
-To start with, give your switch a proper name
hostname sw-yourname
(You'll notice the prompt has changed to the name)
-Configure a message of the day that will be prompted whenever someone tries to log in to this switch. banner motd # Unauthorized access is forbidden, You shall NOT PASS! #
-Configure a password for privileged mode access enable secret P@55
-Now configure the switch to encrypt passwords on the switch using the global configuration command service password-encryption
-Configure CONSOLE access to require a password, allow 15 commands in history, to timeout after 5 minutes and enable synchronous logging. line con 0 password conP@55 logging synchronous login history size 15 exec-timeout 10
- Configure TELNET access to require a password, allow 15 commands in history, to timeout after 5 minutes and enable synchronous logging. line vty 0 15
exec-timeout 5 password telP@55 logging synchronous login history size 15
-Configure the IP address of the switch as 192.168.#.2/24 (reference the numbers Brightspace>CONTENT>WEEK08)
interface Vlan# ip address 192.168.#.2 255.255.255.0
no shutdown
-Create the Layer 2 Vlan
vlan #
name YourName
-Exit the global config and type show interface status to see the list of ports. Configure one of them with the vlan you just created.
interface fa0/1
description My PC
switch access vlan #
no shutdown
Do a show interface status again to see the new port. Close Putty
Plug your computer into the port you just configured. You will need to give your computer a static IP that is in the same subnet as the IP address you configured above.
Once you have that setup, try to ping the switch IP above from your desktop PC. If successful you can now test Telnet connectivity from your computer.
-Open Putty again, choose Telnet, and type in the IP address of your switch. Enter with the passwords you configured above. Don't forget you will have to type enable again to get into the privileged mode and type configuration terminal to enter the global config mode.
-We can now try trucking, with a partner and their switch, create a trunk port on both switches.
interface fa0/24
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan your#,partner# no shutdown
-Connect a network cable between your two switches and using show interface status you can see that the port has come up in trunk mode. You can now configure another port on your switch in your partners vlan.
-First create the Layer 2 Vlan of your partner's.
vlan #
name TheirName
-Now the port.
interface fa0/2
description My Partners Vlan
switch access vlan #
no shutdown
Plug your PC into that port and give yourself a static IP in your partners subnet. You should now be able to ping your partners computer across the trunk uplink and they can ping yours. The same will happen if you move both pc's into Your Vlan and assign them IP's from your subnet.
Now let's upgrade the switch firmware. Make sure the c2950-i6k4l2-mz.121-22.EA8.bin file is in the same folder as tftpd64.exe on your pc.
Ensure that your pc is back plugged into the port on your switch that is in YOUR vlan and that your computer has a static IP in YOUR subnet.
-Open tftpd64.exe on your pc. Open putty again and telnet to the IP of your switch
-From your terminal window type show flash and make sure there is enough space on your switch to hold the new firmware file.
If you need to delete files to make room use the delete command.
-Copy the bin file to the switch
copy tftp flash
when prompted type your computers IP address
when prompted paste the name of the bin file
-Now set the switch to boot from this firmware on next reboot: boot system flash:filename
-Save your config and reboot
copy running-config startup-config
reload
-Once the switch has rebooted type show version to verify you are now running the new version.
The last thing we have to do is backup our configuration file so that if anything happens to our switch we can have a new one up and running in minutes.
-With tftp64.exe open copy your whole config to a backup file on your desktop
copy startup-config tftp
Type in the IP of your computer
Type in the file name CST7203_LAB06_username.txt
Once the copy is complete you can open up the text file and see all the config changes you made in it. Submit this text file as your lab. (Make sure it's not blank)
Congratulations you have just successfully configured a Cisco switch.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
