Multiple choice

If a network administrator enters these commands on a switch, what will be the result?

  1. Switch1(config-line)# line console 0

  2. Switch1(config-line)# password cisco

  3. Switch1(config-line)# login

  4. To secure the console port with the password cisco

  5. To configure the privilege exec password that will be used for remote access

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The line console 0 command enters console line configuration mode. Setting a password and enabling login secures the console port so that anyone attempting console access must provide this password. This is a basic but essential security measure for restricting physical access to the switch.