exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 259 discussion

Actual exam question from Cisco's 350-401
Question #: 259
Topic #: 1
[All 350-401 Questions]

The login method is configured on the VTY lines of a router with these parameters:
* The first method for authentication is TACACS
* If TACACS is unavailable, login is allowed without any provided credentials
Which configuration accomplishes this task?
A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: D

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
XalaGyan
Highly Voted 3 years, 4 months ago
gentlemen, here some helping thoughts. aaa new-model invalidates the previous configuration aaa authentication login <name OR default> group <Radius or TACACS> <fall back mechanisms such as NONE> DO NOT be confused by VTY or TELNET in the AAA Authentication List name which is just a name and lists the options to the right of it. the requirements of TACACS and NO PASSWORD -> always watch out that you have the NO PASSWORD = NONE keyword at the end of the line. next is the question about LOGIN to LOGIN only you dont need a LINE VTY LOGIN AUTHENTICATION LOCAL or PASSWORD XZY as these would be only required if you wanted to ellevate your default priv-level from 1 to a higher number (in this case 15) HTH
upvoted 21 times
Mdorgham
3 years, 1 month ago
So A is the correct Answer ,right ?
upvoted 2 times
pajonk22
2 years, 9 months ago
my mistake. If you use "default" group nothing needs to be added to vty line. Correct is C
upvoted 1 times
danman32
1 year, 9 months ago
Did you mean answer D? Answer C has a group name.
upvoted 1 times
...
...
...
[Removed]
3 years ago
agree. essentially on the VTY lines, you will have to use "login authentication telnet" or "login authentication VTY". But when using default, you wont have to do this.
upvoted 1 times
...
rogi2023
1 year, 10 months ago
XalaGyan's explanation very precise and clear = thx, and leads to the answer "D" (lab it, I did it in GNS3)
upvoted 1 times
...
...
[Removed]
Highly Voted 3 years, 11 months ago
The given answer is correct (the aaa new-model disables the line password)
upvoted 6 times
...
AbdullahMohammad251
Most Recent 8 months ago
When aaa is enabled the default authentication list is automatically applied on all Console and VTY lines; unless a named list is explicitly defined on that given line. For named lists to be effective, they must be explicitly configured on the desired console and VTY line. In option A, the named list is ineffective, why? because we should explicitly configure it on the VTY lines (0-4) using the 'login authentication telnet' command under VTY line config - "telnet" is the aaa_list_name Therefore, the answer is D.
upvoted 1 times
...
[Removed]
10 months, 2 weeks ago
D is correct
upvoted 1 times
...
XDR
2 years ago
I'm pretty sure the answer is D. The aaa auth line is OK, it uses default autentication list with tacacs and for fallback method none. aaa new-model overdides password line form vty section so we can ignore it.
upvoted 3 times
...
nushadu
2 years, 4 months ago
Guys, I did not see any correct answers from provided choices, if you use "none" keyword in the end you fail to connect after tacacs failure: cisco_R3(config-line)#do s runn | s aaa aaa new-model aaa authentication login test_0 group tacacs+ none aaa session-id common cisco_R3(config-line)# cisco_R3(config-line)#do s runn | s vty 0 4 line vty 0 4 exec-timeout 30 0 password 7 06030B logging synchronous login authentication test_0 transport input telnet cisco_R3(config-line)#
upvoted 2 times
nushadu
2 years, 4 months ago
when you connect from linux you see this: root@eve-ng:~# telnet 192.168.255.3 Trying 192.168.255.3... Connected to 192.168.255.3. Escape character is '^]'. % Authorization failed. Connection closed by foreign host. root@eve-ng:~#
upvoted 2 times
nushadu
2 years, 4 months ago
when you change none -> line Cisco IOS will use local line password: cisco_R3(config-line)#aaa authentication login test_0 group tacacs+ line cisco_R3(config)# ### linux root@eve-ng:~# telnet 192.168.255.3 Trying 192.168.255.3... Connected to 192.168.255.3. Escape character is '^]'. user ed password ed Password: cisco_R3>ena Password: cisco_R3#
upvoted 1 times
nushadu
2 years, 4 months ago
i do not know the correct answer to this Q...
upvoted 1 times
danman32
1 year, 9 months ago
The fault with your lab is that you used a name for the AAA Authentication but did not apply the AAA authentication name to the VTY so it resorted to 'default' You need to use 'default' in the AAA authentication. aaa authentication login default group tacacs+ none rather than aaa authentication login test_0 group tacacs+ none
upvoted 1 times
...
...
...
...
...
Hikmat
2 years, 4 months ago
transport input method should be defined under line vty line vty 0 4 password 7 02050D480809 transport input telnet R9#sh run | sec aaa aaa new-model aaa authentication login default group tacacs+ none aaa session-id common R7#telnet 155.1.79.9 Trying 155.1.79.9 ... Open R9>
upvoted 2 times
...
pajonk22
2 years, 9 months ago
my mistake. If you use "default" group nothing needs to be added to vty line. Correct is C
upvoted 1 times
danman32
1 year, 9 months ago
Did you mean answer D? Answer C has a name for the group, D has Default
upvoted 1 times
...
...
pajonk22
2 years, 9 months ago
question seem to be incorrect. to use aaa on vty you need a command "login authentication <aaa group name>". If only password is configured it will prompt for username
upvoted 1 times
danman32
1 year, 9 months ago
You don't need to specify login authentication <group> in VTY if the AAA Authentication was assigned to default.
upvoted 1 times
...
...
hasanozdemirrr
3 years, 10 months ago
D is correct answer
upvoted 3 times
...
whiteherondance
3 years, 11 months ago
I'm a bit confused on this one. Shouldn't the answer be A? The question says 'If TACACS is unavailable, login is allowed without any provided credentials' Answer D has a password configured on the VTY line - doesn't this mean you'd need to provide credentials to log in, meaning D is incorrect? A is the same as D but doesn't have a password configured, so shouldn't the answer then be A?
upvoted 2 times
whiteherondance
3 years, 11 months ago
ignore my point, A configures telnet so the answer probably is D as examShark has pointed out
upvoted 3 times
danman32
1 year, 9 months ago
Actually A isn't managing telnet protocol but rather named the AAA authentication 'telnet' Which is still wrong since you need it to be default.
upvoted 1 times
...
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago