Lab 3 Computer Networks
Lab 3 Computer Networks
Lab 3 Computer Networks
Lab Objective:
a) Configure a switch with a name and an IP address.
b) Configure passwords to ensure that access to the CLI is secured.
c) Configure switch port speed and duplex properties for an interface.
d) Save the active configuration.
e) View the switch browser interface
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
Switch>enable
Switch#
b. Notice the prompt changed in the configuration to reflect privileged EXEC mode.
b. How many Ethernet or Fast Ethernet interfaces does the switch have?
24
Switch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
Switch(config)#hostname ALSwitch
ALSwitch(config)#exit
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press
Ctrl-Z to go back into privileged mode.
ALSwitch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
ALSwitch(config)#line con 0
ALSwitch(config-line)#password cisco
ALSwitch(config-line)#login
(Optional)
ALSwitch(config-line)#line vty 0 15
ALSwitch(config-line)#password cisco
ALSwitch(config-line)#login
(Optional)
ALSwitch(config-line)#exit
b. Set the default gateway for the switch and the default management VLAN to
192.168.1.1 as follows:
ALSwitch(config)#ip default-gateway 192.168.1.1
ALSwitch(config)#exit
c. Are all the changes that were entered recorded in the file?
ALSwitch#exit
Lab Tasks
Lab Task 1:
Lab Task 2:
Connect 4 Computers with switch 2950 series on Fast Ethernet interface 2, 4, 6 and 8. Now apply the
following configuration on switch:
Note: Attach screenshots for each step. Ping the PCs as well.
Conclusion: