Which command is necessary to permit SSH or Telnet access to a cisco switch that is otherwise configured for these vty line protocols?
Click on the arrows to vote for the correct answer
A. B. C. D.D
The correct answer is D. "transport input all."
Explanation:
In a Cisco switch, the virtual terminal (vty) lines are used to provide remote access to the device through protocols such as SSH or Telnet. These vty lines need to be configured with the appropriate transport input command to allow the specific protocols for remote access.
The "transport input" command is used to specify which protocols are allowed for incoming connections on a vty line. The options for the "transport input" command include all, none, or a specific protocol such as SSH or Telnet.
Option A, "transport type all," is not a valid command and is not used for configuring vty lines.
Option B, "transport output all," specifies which protocols are allowed for outgoing connections from the switch, but it does not allow incoming connections from SSH or Telnet.
Option C, "transport preferred all," is not a valid command and is not used for configuring vty lines.
Therefore, the correct command to permit SSH or Telnet access to a Cisco switch that is otherwise configured for these vty line protocols is "transport input all." This command allows incoming connections from any protocol on the vty lines.