exam questions

Exam 200-105 All Questions

View all questions & answers for the 200-105 exam

Exam 200-105 topic 1 question 494 discussion

Actual exam question from Cisco's 200-105
Question #: 494
Topic #: 1
[All 200-105 Questions]

Which command do you enter so that a port enters the forwarding state immediately when a PC is connected to it?

  • A. Switch(config)# spanning-tree portfast bpduguard default
  • B. Switch(config)# spanning-tree portfast default
  • C. Switch(config-if)# spanning-tree portfast trunk
  • D. Switch(config-if)#no spanning-tree portfast
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
Selected Answer: B
Switchport trunk is used on trunk links but here we have a pc connected to the switch via an access port. So we either enable port fast on the interface level or globally using the "default" keyword.
upvoted 1 times
...
peter008001
1 year ago
Answer is C. Please note that the keyword "Switch(config-if)" is used for entering port commands. So A and B is incorrect. D should remove the "no" keyword in the command.
upvoted 1 times
...
[Removed]
1 year, 4 months ago
Selected Answer: B
Answer is B. Command "spanning-tree portfast default" enable portfast on all access port. Question asked for a pc to connect to this port, so it's clearly an access port.
upvoted 1 times
...
AnkiTBis
1 year, 8 months ago
Selected Answer: C
Switch(config)# spanning-tree portfast default - this command works only on access ports. To exclusively allow all ports whether trunk or access we need to type 'trunk' instead of 'default'. Hence the answer should be C.
upvoted 1 times
...
musa1LE
2 years, 3 months ago
Selected Answer: B
Answer is "B"
upvoted 1 times
...
jahinchains
2 years, 7 months ago
So vague and many possible answer.
upvoted 1 times
...
SOAPGUY
2 years, 7 months ago
Selected Answer: B
Can be activated either on port using spanning-tree portfast or globally using spanning-tree portfast default
upvoted 1 times
...
Sajja123
2 years, 9 months ago
Selected Answer: B
Although this question said “which command on a port” but it gave two answers in global configuration mode so it is a bit unclear. But we believe the correct answer should be “spanning-tree portfast default”, which enables PortFast on all non-trunking interfaces. Note: The command “spanning-tree portfast trunk” enables portfast on a trunk port. The trunk port enters the STP forwarding-state immediately or upon a linkup event, thus bypassing the listening and learning states.
upvoted 1 times
...
reagan_donald
3 years ago
Answer is "B". As it mentions PC we can assume that "PC" is in access mode on switch, so command "spanning-tree portfast default" automatically turns on portfast on access ports and not on trunk ports.
upvoted 1 times
...
ProgSnob
3 years, 1 month ago
Since it specifically mentions a PC, The answer is B. "The spanning-tree portfast default global configuration mode command enables PortFast on all non-trunking interfaces."
upvoted 1 times
...
Babai
4 years, 10 months ago
I believe it is B as it does not explicitly says the config needs to be on an interface or globally.
upvoted 1 times
...
Quan
5 years, 2 months ago
The answer should be A. Explanation: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_55_se/configuration/guide/3560_scg/swstpopt.html At the global level, you enable BPDU guard on Port Fast-enabled ports by using the spanning-tree portfast bpduguard default global configuration command. Spanning tree shuts down ports that are in a Port Fast-operational state if any BPDU is received on them. In a valid configuration, Port Fast-enabled ports do not receive BPDUs. Receiving a BPDU on a Port Fast-enabled port means an invalid configuration, such as the connection of an unauthorized device, and the BPDU guard feature puts the port in the error-disabled state. When this happens, the switch shuts down the entire port on which the violation occurred.
upvoted 1 times
Quan
5 years, 1 month ago
I am sorry. I was wrong. The answer should be D, but WITHOUT the word "no", which means "spanning-tree portfast".
upvoted 2 times
...
...
Specialdork
5 years, 4 months ago
I believe it is D but then wrote the answer wrong. Should remove the "no". B would be correct if the question was worded to be "Globally" but it says a PORT and a PC. Thats my two cents for this.
upvoted 3 times
...
[Removed]
5 years, 5 months ago
Answer: B
upvoted 1 times
...
bitsuspect
5 years, 8 months ago
The correct answer is C. - You can enable this feature by using the spanning-tree portfast interface configuration or the spanning-tree portfast default global configuration command.
upvoted 1 times
[Removed]
5 years, 5 months ago
C is incorrect. If you want to make a trunk port become Forwarding imediately after coming up, you need the spanning-tree porfast trunk command. But here asked about end-divice like PC. So you need to configure spanning-tree portfast default. B. Switch(config)# spanning-tree portfast default
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago