Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 150 discussion

Actual exam question from Cisco's 300-410
Question #: 150
Topic #: 1
[All 300-410 Questions]


Refer to the exhibit. Which two actions restrict access to router R1 by SSH? (Choose two.)

  • A. Remove class-map ANY from service-policy CoPP.
  • B. Configure transport output ssh on line vty and remove sequence 20 from access list 100.
  • C. Configure transport input ssh on line vty and remove sequence 30 from access list 100.
  • D. Remove sequence 10 from access list 100 and add sequence 20 deny tcp any any eq telnet to access list 199.
  • E. Configure transport output ssh on line vty and remove sequence 10 from access list 199.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DaanB
Highly Voted 3 years, 7 months ago
B and C. A is not correct - IMO
upvoted 12 times
...
bjromero28
Highly Voted 3 years ago
This image is cut off. Here's the is continuation below: R1# show access-list 199 Extended ip access list 199 10 deny tcp any eq telnet any (50 matches) 50 permit ip any any (1 match) R1# show running-config | section line vty line vty 0 4 login transport input telnet ssh transport output telnet ssh ------------------------------------------------------------------------- In order to restrict access to ssh only, shouldn't we limit the vty lines to transport ssh only? I believe the answer is B and C.
upvoted 9 times
spapi0390
2 years, 11 months ago
I have done that on lab, with the above output the SSH is not working! So i have remove Class-map ANY- then I was able to SSH to the router. So A is 100% ok. Other best option is C, since if we replace input telnet ssh to only SSH then you do not have access through telnet on the router.
upvoted 7 times
...
...
chinopla
Most Recent 3 months, 4 weeks ago
SSH is TCP 22. Where is TCP 22 permitted in this image?
upvoted 2 times
...
[Removed]
4 months ago
Selected Answer: AC
A & C are correct B is incorrect, because; - there is no need for transport output statement, since we are talking about incommig traffic only. - sequence 20 in access list 100 is for outbound telnet, the question says restrict access TO the router by ssh (not from). here is the full exhibit R1#show policy-map control-plane Control Plane Service-policy input: CoPP Class-map: PERMIT (match-all) 50 packets, 3811 bytes 5 minute offered rate 0000 bps Match: access-group 100 Class-map: ANY (match-all) 210 packets, 19104 bytes 5 minute offered rate 0000 bps, drop rate 0000 bps Match: access-group 199 drop Class-map: class-default (match-any) 348 packets, 48203 bytes 5 minute offered rate 0000 bps, drop rate 0000 bps Match: any
upvoted 1 times
[Removed]
3 months, 4 weeks ago
R1#show access-list 100 Extended IP access list 100 10 permit udp any any eq 23 (100 matches) 20 permit tcp any any eq telnet (5 matches) 30 permit tcp any eq telnet any (10 matches) R1#show access-list 199 Extended IP access list 199 10 deny tcp any eq telnet any (50 matches) 50 permit ip any any (1 match) R1#show running-config | section line vty line vty 0 4 login transport input telnet ssh transport output telnet ssh
upvoted 1 times
...
...
AlexInShort12
11 months ago
Not clear question, not sure if we are suppose to allow connection GOINGTO R1 via SSH or Allow R1 making SSH connection out only via SSH.
upvoted 2 times
...
net_eng10021
1 year, 2 months ago
Awfully worded question....
upvoted 1 times
...
conft
1 year, 3 months ago
Selected Answer: AC
A and C is the correct.
upvoted 2 times
...
inteldarvid
1 year, 4 months ago
Selected Answer: AC
AC is correct
upvoted 2 times
...
Malasxd
1 year, 6 months ago
Selected Answer: AC
A and C are right. A) ACL 199 match SSH traffic by sequence 50. The class-map match ACL 199 and this class is droping all traffic. if you remove the SSH traffic will match default class and will pass. If you don't permit SSH in ACL 100 it's mandatory remove this class. B) if you configure output ssh you are allowing R1 being the connection's client and i'm not sure if it is desided by the question. but you need to configure SSH input to ssh works and there is no option to do it except option C. C) It works with option A. Mandatory you need to input ssh in the lines vty to allow SSH and this is the unique option you can do it. We don't have the option to include SSH in ACL 100, so we need to remove the class ANY and input the SSH. Option C also removes sequence 30 in ACL 100 and this make the router unable to answer telnet connection. I would prefer to remover sequence 20, but removing sequence 30 also works. D) Does not make sense to me. E) does not make sense either.
upvoted 6 times
Clarent_I
1 year, 4 months ago
Removing Sequence 30 in AC doesn't make the router unable to answer telnet connection. It is simply disallowing the remote device to respond back to the connection initiated by R1 because the control plane has the service policy applied in inbound direction. Hence Option B is not needed to be used to stop the outbound SSH connection thou the question never asked for this. Thou, your explanations for A and C being the right answers are correct.
upvoted 2 times
Pietjeplukgeluk
11 months, 3 weeks ago
I think this question is wrong as removing class ANY will mean you do not use CoPP at all. If the technology provides any benefits, why have questions that just allow all traffic? Anyway, i would not mind making a question like this wrong.
upvoted 1 times
bk989
3 months, 1 week ago
Class ANY = drop. It is dropping ip any any, means it is dropping SSH. We HAVE to remove it.
upvoted 1 times
...
...
...
...
ericxw
1 year, 10 months ago
Selected Answer: AC
transport output ssh --- this will allow only ssh to be initiated from this device - which is not required - so A & C
upvoted 3 times
...
NoUserName1234
1 year, 11 months ago
Selected Answer: BC
Full picture seen on the following site givin picture is wrong. https://www.actual4test.com/articles/dec-2021-pass-300-410-exam-in-first-attempt-updated300-410-actual4test-exam-question-q91-q113/
upvoted 4 times
...
Huntkey
2 years, 1 month ago
Class ANY will match pretty much everything. The only thing it doesn't match is the outbound telnet from the router to where else (because the seq 10 in ACL 199 would match the return traffic). Therefore, you must remove this class because it would deny the inbound SSH traffic C would restrict inbound to be SSH only, despite that the "PERMIT" map would allow for inbound Telnet
upvoted 2 times
...
wts
2 years, 2 months ago
Selected Answer: AC
It seems that it is necessary to reduce the options for connecting to the router to SSH. Block telnet, allow SSH - it's clearer. Only the ANY captures(ACL199) SSH packets for policy(only this class-map can influence the ssh by control plane policy): 10 deny tcp any eq telnet any 50 permit ip any any <--------------------here(picture cropped) i.e. A By removing the ANY, we will skip the ssh packages default class. But apparently, "restrict" means that you need to disable telnet, leaving only ssh TO router. So we need the command "transport input ssh", i.e. C. P.S.: disgusting question
upvoted 3 times
...
TECH3K3
2 years, 3 months ago
B and C Some configuration output is missing, which is why some of you are choosing the wrong answers. See below for missing VTY Line config. line vty 0 4 transport input telnet ssh transport output telnet ssh We only want SSH and no Telnet session. Configuring transport input/output ssh with remove the transport input telnet off the vty line. Also if you select B and C, you will also remove telnet from ACL 100.
upvoted 1 times
...
TECH3K3
2 years, 3 months ago
Selected Answer: BC
B and C We only want SSH and no Telnet session. Configuring transport input/output ssh with remove the transport input telnet off the vty line. Also if you select B and C, you will also remove telnet from ACL 100.
upvoted 2 times
...
Carl1999
2 years, 9 months ago
Selected Answer: AC
I understood the meaning of the sentence, it means that ONLY SSH CAN CONNECT. A and C.
upvoted 3 times
Carl1999
2 years, 9 months ago
I think the following is easier. access list 100 40 permit tcp any any eq 22.
upvoted 1 times
...
...
wts
2 years, 10 months ago
I don't see it having anything to do with blocking access via ssh.
upvoted 3 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 ...