An engineer must create a configuration that executes the show run command and then terminates the session when user CCNP logs in. Which configuration change is required”
A. Add the access-class keyword to the username command
B. Add the access-class keyword to the aaa authentication command
C. Add the autocommand keyword to the username command
D. Add the autocommand keyword to the aaa authentication command
Answer:C
An engineer must create a configuration that executes the show run command and then terminates the session when user CCNP logs in. Which configuration change is required”
A. Add the access-class keyword to the username command B. Add the access-class keyword to the aaa authentication command C. Add the autocommand keyword to the username command D. Add the autocommand keyword to the aaa authentication command
Explanation: The “autocommand” causes the specified command to be issued automatically after the user logs in. When the command is complete, the session is terminated. Because the command can be any length and can contain embedded spaces, commands using the autocommand keyword must be the last option on the line. In this specific question, we have to enter this line “username CCNP autocommand show running config”.