b. Verify a clean configuration file with the show running-config privileged EXEC command. If a configuration file was previously saved, it will have to be removed. Depending on the switch model and IOS version, your configuration may look slightly different. However, there should be no configured passwords or IP address set. If your switch does not have a default configuration, ask your instructor for help.
c. Enter global configuration mode and assign the switch hostname.
Switch# configure terminal
Switch(config)# hostname S1
S1(config)#
d. Configure the switch password access.
S1(config)# enable secret class
S1(config)#
e. Prevent unwanted Domain Name System (DNS) lookups.
S1(config)# no ip domain-lookup
S1(config)#
f. Configure a login message-of-the-day (MOTD) banner.
S1(config)# banner motd #
Enter Text message. End with the character ‘#’.
Unauthorized access is strictly prohibited. #