Security
An engineer wants SSH logins on the VTY lines to be checked against usernames stored in the router's own configuration, with no AAA servers. Which line configuration does this?
Show the answer
Correct answerB. login local
AWhy not this: It enables only the shared line password check, so no individual username is verified.
BWhy this is right: It tells the line to authenticate against usernames defined in the local database, which SSH needs.
CWhy not this: It sets a shared line password but does not make the line check the local user database.
DWhy not this: It points to the default AAA method list, which needs aaa new-model and is not a purely local setting.
The login local command makes the line prompt for a username and check it against locally configured username entries. The plain login command only prompts for the line password and does not use the local user database.