Friday, January 13, 2023

Basic Device Configuration.

 

Question - Secure management access to a switch.

  • Assign a device name.
  • Secure user EXEC mode access.
  • Secure privileged EXEC mode access.
  • Secure VTY access.
  • Encrypt all plaintext passwords.
  • Display a login banner.

Answer:

Enter global configuration mode.

Switch#configure terminal

Name the switch “Sw-Floor-1”.

Switch(config)#hostname Sw-Floor-1

Secure user EXEC mode access by entering line console 0, assign the password cisco, enable login, and return to the global configuration mode using exit.

Sw-Floor-1(config)#line console 0

Sw-Floor-1(config-line)#password cisco

Sw-Floor-1(config-line)#login

Sw-Floor-1(config-line)#exit

Secure privileged EXEC mode access using the password class.

Sw-Floor-1(config)#enable secret class

Secure the VTY lines 0 through 15, assign the password cisco, enable login, and return to the global configuration mode using exit.

Sw-Floor-1(config)#line vty 0 15

Sw-Floor-1(config-line)#password cisco

Sw-Floor-1(config-line)#login

Sw-Floor-1(config-line)#exit

Encrypt all plaintext passwords.

Sw-Floor-1(config)#service password-encryption

Create a banner message using the “#” symbol as the delimiter. The banner should display exactly: Warning! Authorized access only!

Sw-Floor-1(config)#banner motd #Warning! Authorized access only!#

No comments:

Post a Comment

Explain the purpose of Data Link Layer and also draw the diagram for the same.

The Data Link layer is responsible for  Communications between end-device network interface cards. It allows upper layer protocols to access...