QuestionQ994

Security Fundamentals

Question Image

Refer to the exhibit. A network engineer is modifying the management access settings on switch SW1 to permit secure, encrypted remote configuration.

Which two commands or command sequences must the engineer configure on the switch?

Choose two
  • A SW1(config)#enable secret ccnaTest123
  • B SW1(config)#username NEW secret R3mote123
  • C SW1(config)#line vty 0 15 SW1(config-line)#transport input ssh
  • D SW1(config)# crypto key generate rsa
  • E SW1(config)# interface f0/1 SW1(confif-if)# switchport mode trunk
Explanation

The exhibit shows the SSH prerequisites are already in place: a hostname and an IP domain name are configured, show crypto key mypubkey rsa confirms an RSA key pair has already been generated, and a local account (username CCNA privilege 1 password 0 cisco123) exists with login local applied to the VTY lines. Creating another username or generating RSA keys is therefore unnecessary. Two gaps remain. First, both VTY ranges still permit only Telnet (transport input telnet), so the lines must be changed with transport input ssh to allow encrypted management access. Second, the only local user has privilege level 1 and no enable secret is set, so a remote user who authenticates over SSH lands in user EXEC mode and gets % No password set. when entering enable, making configuration impossible. Adding enable secret ccnaTest123 supplies the privileged-EXEC password needed to actually configure the switch remotely. The trunk-port command is unrelated to management access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!