Lab 03 : Basic switch setup
Objective
A new switch just purchased from Cisco contains no default configuration. You need to configure the switch with setup mode or from scratch using the command line interface (CLI) before connecting it in your network environment.
Network diagram

Lab instructions
This lab will test your ability to configure basic settings such as hostname, motd banner, encrypted passwords, and terminal options on a Cisco Catalyst 2960 switch simulated in GNS3.
Task 1
Configure Switch hostname as LOCAL-SWITCH .
vIOS-L2-01(config)#hostname LOCAL-SWITCH
Task 2
Configure the message of the day as "Unauthorized access is forbidden".
LOCAL-SWITCH(config)#banner motd #
Unauthorized access is forbidden#
Task 3
Configure the password for privileged mode access as "cisco". The password must be md5 encrypted .
LOCAL-SWITCH(config)#enable secret cisco
Task 4
Configure password encryption on the switch using the global configuration command.
LOCAL-SWITCH(config)#service password-encryption
Task 5
Configure CONSOLE access with the following settings :
Login enabled
Password : ciscoconsole
History size : 15 commands
Timeout : 6'45''
Synchronous logging
LOCAL-SWITCH(config)#line con 0
LOCAL-SWITCH(config-line)#password ciscoconsole
LOCAL-SWITCH(config-line)#logging synchronous
LOCAL-SWITCH(config-line)#login
LOCAL-SWITCH(config-line)#history size 15
LOCAL-SWITCH(config-line)#exec-timeout 6 45
Task 6
Configure TELNET access with the following settings :
Login enabled
Password : ciscotelnet
History size : 15 commands
Timeout : 8'20''
Synchronous logging
LOCAL-SWITCH(config)#line vty 0 15
LOCAL-SWITCH(config-line)#exec-timeout 8 20
LOCAL-SWITCH(config-line)#password ciscotelnet
LOCAL-SWITCH(config-line)#logging synchronous
LOCAL-SWITCH(config-line)#login
LOCAL-SWITCH(config-line)#history size 15
Task 7
Configure the IP address of the switch as 192.168.1.2/24 .
LOCAL-SWITCH(config)#interface Vlan1
LOCAL-SWITCH(config-if)#ip address 192.168.1.2 255.255.255.0
Last updated