Refer to the exhibit. 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 autocommand keyword to the aaa authentication command.
C.
Add the access-class keyword to the aaa authentication command.
D.
Add the autocommand keyword to the username command.
first of all, proud of you, you've achieved a feet already.
I failed my first attempt to CCNP, I marks were average 70% in all still failed, I don't know y.
currently working as a ICT service engineers Team Lead wants to go in MSP-ISP network engineer, but getting rejected from everywhere.
One day will become like you
if this command wasn't so obscure and dumb, I would feel dumb at this point too, having worked on cisco gear for 20+ years. :) at least i wont forget this if it comes up on a test.
questions like this are why I visit sites like this. It doesn't matter how much you study, this question would have screwed me over everytime, I've never heard of it
D is correct
The "autocommand" keyword in Cisco IOS allows you to specify a command or a series of commands to be executed automatically when a user logs in.
For example, if you configure "autocommand show run" for a specific user, let's say "CCNP," whenever the user "CCNP" logs in, the command "show run" will be executed automatically, displaying the current running configuration of the device.
Clearly D is the answer, but there is a problem with how the answer is worded.
It says to ADD the sutocommand to the username command.
But you can't add anything to the command once you specify the password, otherwise what you intended to be an option becomes the password
So you have to have a separate line for username CCNP autocommand since here too autocommand has to be the last option.
Cisco IOS long had the autocommand option by which you could attach any command to a username and have it execute after successful login. For example, username x autocommand show ip interface brief command would configure the router to display the interface status after someone would log in as user x.
After the autocommand is executed, the user is logged out and the session is disconnected, unless you configure the username user nohangup option, which causes the session to remain active, giving the operator another login prompt.
login from remote linux:
root@eve-ng:~# telnet 192.168.255.3
Trying 192.168.255.3...
Connected to 192.168.255.3.
Escape character is '^]'.
Username: CCNP
Password:
Line User Host(s) Idle Location
0 con 0 ed idle 00:00:32
* 2 vty 0 CCNP idle 00:00:00 192.168.255.1
Interface User Mode Idle Peer Address
Connection closed by foreign host.
root@eve-ng:~#
autocommand (Optional) 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 contain imbedded spaces, commands using the autocommand keyword must be the last option on the line.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
hex2
Highly Voted 2 years, 9 months agojuancarlosdlar
1 year, 9 months agomyhdtv6
8 months, 2 weeks agodanny_f
2 years, 5 months agoDiscardedPacket
2 years, 4 months agowr4net
1 year, 5 months agoMcBeano
Highly Voted 2 years, 3 months ago[Removed]
Most Recent 4 months, 3 weeks agodanman32
1 year, 2 months agodragonwise
1 year, 7 months agoAsymptote
1 year, 9 months agonushadu
1 year, 10 months agonushadu
1 year, 10 months agoLucky1313
2 years, 2 months agoDuck2Duck
2 years, 3 months agosayywhat
2 years, 4 months agoyoutri
2 years, 9 months agoyoutri
2 years, 9 months agoanonymous1966
3 years, 2 months agoSmartForNothing
3 years, 3 months agoAsymptote
1 year, 9 months agoDead_Adriano
3 years agokoptos
3 years ago[Removed]
3 years, 5 months ago