exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 197 discussion

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


Refer to the exhibit. An engineer receives this error message when trying to access another router in-band from the serial interface connected to the console of
R1.
Which configuration is needed on R1 to resolve this issue?

  • A. R1(config)#line vty 0 R1(config-line)# transport output ssh
  • B. R1(config)#line console 0 R1(config-line)# transport output ssh
  • C. R1(config)#line console 0 R1(config-line)# transport preferred ssh
  • D. R1(config)#line vty 0 R1(config-line)# transport output ssh R1(config-line)# transport preferred ssh
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
tseen
Highly Voted 2 years, 2 months ago
Selected Answer: B
R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#lin vty 0 R2(config-line)#transport output ssh R2(config-line)#transport preferred ssh R2(config-line)#^Z R2#conf t *Feb 8 20:47:02.183: %SYS-5-CONFIG_I: Configured from console by console R2#ssh -l admin 10.0.0.1 % ssh connections not permitted from this terminal R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line con 0 R2(config-line)#transport output ssh R2(config-line)#transport output ssh R2(config-line)#^Z R2#ssh -l admin 10.0.0.1 *Feb 8 20:47:37.523: %SYS-5-CONFIG_I: Configured from console by console R2#ssh -l admin 10.0.0.1 Password: R1#
upvoted 11 times
...
HungarianDish_111
Highly Voted 2 years ago
Selected Answer: B
I also tested it, and the result was answer B for me, too. On R1 under "line con 0" "transport output none". When first connecting through serial cable to R1 and then connecting via ssh to the other router "% ssh connections not permitted from this terminal" appeared. Solution: On R1 under "line con 0" "transport output ssh". Changing the configuration under "line vty 0 4" had no effect.
upvoted 6 times
HungarianDish_111
2 years ago
Also tested the other scenario: first ssh to R1 and then ssh to the other device. In this case, "line vty 0 4" "transport output none" produced the same error. "line vty 0 4" "transport output ssh" was required for successful connection to the other device via ssh.
upvoted 1 times
...
...
XBfoundX
Most Recent 6 months, 1 week ago
The point that we need to understand is that the command is not saying enable ssh on the serial cable but the command allow us from the console session to have remote sessions using ssh, same for the vty lines in that case you are saying that if you are connected in a session using the vty lines you can use the command for doing an ssh connection via the switch
upvoted 2 times
XBfoundX
6 months, 1 week ago
is not about ssh in the lines or console is what you are allowed to do when you are connected via the serial cable or the vty lines
upvoted 1 times
XBfoundX
6 months, 1 week ago
here my example: R1#show running-config | sec line line con 0 logging synchronous transport output ssh line aux 0 line vty 0 4 login local transport preferred ssh transport input telnet ssh transport output none R1#sho R1#show users Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 Interface User Mode Idle Peer Address R1#ssh R1#ssh -l Cisco 172.16.2.2 Password: R2>
upvoted 1 times
...
...
...
bk989
9 months, 2 weeks ago
In GNS3: IOU: ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous login local transport output none IOU2#ssh -l cisco 1.1.1.1 % ssh connections not permitted from this terminal
upvoted 1 times
bk989
9 months, 2 weeks ago
IOU IOU2(config)#line con 0 IOU2(config-line)#transport output all IOU2(config-line)# IOU2(config)#exit IOU2# IOU2#ssh -l cisco 1.1.1.1 Password: *Jul 23 14:07:44.808: %SYS-5-CONFIG_I: Configured from console by console B is correct preferred doesn't matter as we are definining ssh with this command: ssh -l cisco 1.1.1.1
upvoted 1 times
bk989
8 months, 3 weeks ago
sorry wrong statement.
upvoted 1 times
bk989
8 months, 3 weeks ago
nevermind I am correct
upvoted 1 times
...
...
...
...
[Removed]
9 months, 2 weeks ago
Selected Answer: B
it´s B
upvoted 2 times
...
inteldarvid
1 year, 9 months ago
B option corerct
upvoted 1 times
...
guy276465281819372
1 year, 10 months ago
Selected Answer: B
b is correct
upvoted 2 times
...
Huntkey
2 years, 6 months ago
Selected Answer: D
I never heard that you could use SSH protocol on the Serial interface... My understanding of the question is that you use serial console to connect to R1 then use SSH to connect to another device over the VTY Look at this post and look at Aaron's response https://community.cisco.com/t5/switching/transport-preferred-ssh-command-at-console-line/m-p/4469002#M511050
upvoted 2 times
Huntkey
2 years, 6 months ago
Damn I meant for B...
upvoted 1 times
...
...
networkWiz
2 years, 8 months ago
Selected Answer: B
B is the correct answer. it states in the question access from the Serial interface (console cable).
upvoted 4 times
...
Nhan
2 years, 10 months ago
D is correct answer,
upvoted 1 times
...
YaPet
3 years, 2 months ago
Selected Answer: B
B is correct
upvoted 5 times
...
krn007
3 years, 4 months ago
Selected Answer: B
Correct Answer :B
upvoted 6 times
...
Mr_RaCailum
3 years, 8 months ago
This is the most basic question... B is the answer obviously.
upvoted 3 times
...
[Removed]
3 years, 9 months ago
B is the correct answer
upvoted 2 times
...
RHK0783
3 years, 11 months ago
the error is about terminal connection. not console ...
upvoted 1 times
...
ZachTL11
4 years ago
R1(config)#line console 0 R1(config-line)# transport output ssh
upvoted 3 times
...
DaanB
4 years, 1 month ago
This article (https://packetu.com/2016/07/07/understanding-transport-output-access-class/) supports my and other people opinion that the answer is C, that you should change the config for the line console 0, not for the line vty 0 4
upvoted 1 times
DaanB
4 years, 1 month ago
Not C, it's B
upvoted 5 times
steiger
3 years, 6 months ago
How do you use ssh when connecting to the console?
upvoted 1 times
Alnet
3 years, 6 months ago
It's in the wording of the question. It says that you (engineer) are connected to this router via it's console. So your current session is under the consoles rules/config. Altering the VTY on the router which your logged into the console will have no effect on you being able to SSH outbound to another device.
upvoted 7 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