exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 199 discussion

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


Refer to the exhibit. Rapid PVST+ is enabled on all switches. Which command set must be configured on Switch1 to achieve the following results on port fa0/1?
✑ When a device is connected, the port transitions immediately to a forwarding state.
✑ The interface should not send or receive BPDUs.
✑ If a BPDU is received, it continues operating normally.

  • A. Switch1(config)# spanning-tree portfast bpdufilter default Switch1(config)# interface f0/1 Switch1(config-if)# spanning-tree portfast
  • B. Switch1(config)# spanning-tree portfast bpduguard default Switch 1 (config)# interface f0/1 Switch1 (config-if)# spanning-tree portfast
  • C. Switch1(config)# interface f0/1 Switch1(config-if)# spanning-tree portfast
  • D. Switch1(config)# interface f0/1 Switch1(config-if)# spanning-tree portfast Switch1 (config-if)# spanning-tree bpduguard enable
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Darude
Highly Voted 2 years, 5 months ago
Selected Answer: A
BPDU filtering allows you to avoid transmitting BPDUs on PortFast-enabled ports that are connected to an end system. When you enable PortFast on the switch, spanning tree places ports in the forwarding state immediately, instead of going through the listening, learning, and forwarding states. By default, spanning tree sends BPDUs from all ports regardless of whether PortFast is enabled. BDPU filtering is on a per-switch basis; after you enable BPDU filtering, it applies to all PortFast-enabled ports on the switch.
upvoted 12 times
...
AbdullahMohammad251
Most Recent 8 months, 2 weeks ago
Selected Answer: A
The 'bpdufilter default' command enables BPDU filtering on all PortFast-enabled interfaces, preventing the interfaces from sending or receiving BPDUs. BPDU filtering is disabled if a PortFast interface receives a BPDU, allowing the interface to participate in STP and continue operation. Option B is incorrect because the 'bpduguard default' command will err-disable the port if it receives a BPDU on a PortFast-enabled port. Option C is incorrect because it lacks BPDU control. Option D is incorrect because enabling BPDU Guard on an interface will put the interface in an err-disabled mode if it receives a BPDU, which is the same scenario as in Option B
upvoted 1 times
...
[Removed]
11 months, 1 week ago
Selected Answer: A
A is correct When BPDU filter is globally or per interface enabled, it stops portfast-enabled ports from sending BPDUs. When BPDU filter is globally enabled, if one of its PortFast-enabled ports receives a BPDU, it disables portfast and BPDU filter on the port, and then the port operates like a normal STP port. When BPDU filter is per interface enabled, if one of its PortFast-enabled ports receives a BPDU, the port won´t become a normal STP port, it will simply ignore the BPDU. https://www.youtube.com/watch?v=btuDgQCqYqs&list=PLxbwE86jKRgOb2uny1CYEzyRy_mc-lE39&index=43
upvoted 2 times
...
djedeen
1 year, 5 months ago
Selected Answer: A
bpduguard will put ports into err-disabled if bpdu received.
upvoted 1 times
...
ibogovic
1 year, 10 months ago
Selected Answer: A
A. Switch1(config)# spanning-tree portfast bpdufilter default Switch1(config)# interface f0/1 Switch1(config-if)# spanning-tree portfast Explanation: The command "spanning-tree portfast bpdufilter default" enables PortFast on all access ports and applies the BPDU filter. This allows the port to immediately transition to the forwarding state and prevents the interface from sending or receiving BPDUs. The command "interface f0/1" enters the interface configuration mode for fa0/1. The command "spanning-tree portfast" enables PortFast on the interface.
upvoted 3 times
...
jubrilak
1 year, 10 months ago
Guys, C is the ANSWER 1) If you enable BPDU Filter globally on the router, it will send 11 BPDUs out when the port first comes up, but if it receives no BPDU it will stop and maintain a portfast state, however, if it receives a BPDU it will lose its portfast state. See Page 191 of the Official Study Guide
upvoted 1 times
danman32
1 year, 9 months ago
But then answer C isn't correct either based on your logic, BPDUs would be sent out of interface, and could receive them too.
upvoted 1 times
...
Burik
1 year, 10 months ago
No. It's A. Lab it.
upvoted 1 times
...
...
uhljeb
2 years ago
The ideal configuration would look like this: ! interface Ethernet0/2 spanning-tree portfast edge spanning-tree bpdufilter enable ! When configuring spanning-tree portfast edge bpdufilter default globally, the port still receives and sends BPDUs. Switch#show spanning-tree interface e0/2 detail Port 3 (Ethernet0/2) of VLAN0020 is broken (Port Type Inconsistent) --Output Ommited-- The port is in the portfast edge mode Link type is point-to-point by default Bpdu filter is enabled by default BPDU: sent 7, received 6 Maybe this is a bug related to EVE-NG, but only when I configure the BPDU filter on the interface it works as explained in the question.
upvoted 1 times
...
XBfoundX
2 years, 3 months ago
Selected Answer: A
The A one is the correct answer because is asking this two things: - 1) port going immediately to forwarding state - 2) The interface should not send or receive bpdus (by def in all intefaces bpdus are sent) https://community.cisco.com/t5/switching/why-stp-rstp-sends-bpdu-on-access-ports/td-p/4190130 - 3) If a bpdu is received the port needs to be up and running anyways Even if the command spanning-tree portfast is configured later whit the command spanning-tree portfast bpdufilter default when a port is on portfast state the bpdufilter option will be activated on that port: Switch#show running-config | sec spanning spanning-tree mode rapid-pvst spanning-tree portfast edge bpdufilter default
upvoted 2 times
XBfoundX
2 years, 3 months ago
Switch#show spanning-tree interface ethernet 0/0 det Port 1 (Ethernet0/0) of VLAN0001 is designated forwarding Port path cost 100, Port priority 128, Port Identifier 128.1. Designated root has priority 32769, address aabb.cc00.4000 Designated bridge has priority 32769, address aabb.cc00.4000 Designated port id is 128.1, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is point-to-point by default BPDU: sent 208, received 1
upvoted 1 times
XBfoundX
2 years, 3 months ago
After portfast: Switch(config)#interface ethernet 0/1 Switch(config-if)#spanning-tree portfast Switch(config-if)#do sh spanning int eth0/1 det Port 2 (Ethernet0/1) of VLAN0001 is designated forwarding Port path cost 100, Port priority 128, Port Identifier 128.2. Designated root has priority 32769, address aabb.cc00.4000 Designated bridge has priority 32769, address aabb.cc00.4000 Designated port id is 128.2, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 The port is in the portfast edge mode Link type is point-to-point by default Bpdu filter is enabled by default ==> you can see that is activated BPDU: sent 40, received 0
upvoted 1 times
XBfoundX
2 years, 3 months ago
Notice also that when you activate the bpdufilter on the port the counters about sending a bpdu on that port will stop cause of it: Switch#show spanning-tree interface ethernet 0/1 det Link type is point-to-point by default BPDU: sent 147, received 0 Switch#show spanning-tree interface ethernet 0/1 det Link type is point-to-point by default BPDU: sent 154, received 0 After porfast command enabled: Switch#show spanning-tree interface ethernet 0/1 det Bpdu filter is enabled by default BPDU: sent 170, received 0 Switch#show spanning-tree interface ethernet 0/1 det Bpdu filter is enabled by default BPDU: sent 170, received 0
upvoted 1 times
...
...
XBfoundX
2 years, 3 months ago
SORRY THIS IS THE RIGHT PORT! Switch#show spanning-tree interface ethernet 0/1 det Port 2 (Ethernet0/1) of VLAN0001 is designated forwarding Port path cost 100, Port priority 128, Port Identifier 128.2. Designated root has priority 32769, address aabb.cc00.4000 Designated bridge has priority 32769, address aabb.cc00.4000 Designated port id is 128.2, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is point-to-point by default BPDU: sent 60, received 0
upvoted 1 times
...
...
...
bendarkel
2 years, 3 months ago
Selected Answer: D
The question is specific to SW1 interface fa0/1, not all interfaces on SW1. spanning-tree portfast bpdufilter default is global, it impacts all interfaces on SW1.
upvoted 1 times
bendarkel
2 years, 3 months ago
Correction. Best answer is A. Answer D has bpduguard, which if/when BPDUs are received, places the interface an err-disabled state (shutdown), which the question is saying should not be the case.
upvoted 2 times
...
...
nushadu
2 years, 4 months ago
Selected Answer: A
A. but I am not sure, there are no these commands in my IOU\L2 switch from available choices, config looks like this: sw2#show spanning-tree vlan 30 detail Port 1 (Ethernet0/0) of VLAN0030 is designated forwarding Port path cost 100, Port priority 128, Port Identifier 128.1. Designated root has priority 32798, address aabb.cc00.1000 Designated bridge has priority 32798, address aabb.cc00.4000 Designated port id is 128.1, designated path cost 100 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 6 The port is in the portfast mode by portfast trunk configuration <<<<<<<<<<<< Link type is shared by default Bpdu filter is enabled <<<<<<<<<<<<<<<<<< BPDU: sent 0, received 0 <<<<<<<< no increase counters after the clearing
upvoted 1 times
nushadu
2 years, 4 months ago
sw2#show runn int e0/0 Building configuration... Current configuration : 227 bytes ! interface Ethernet0/0 description to_e0/0_r2 switchport trunk encapsulation dot1q switchport trunk allowed vlan 30,50 switchport mode trunk duplex auto spanning-tree portfast trunk spanning-tree bpdufilter enable end sw2#
upvoted 1 times
...
...
bora4motion
2 years, 4 months ago
Selected Answer: A
a is correct
upvoted 1 times
...
Asymptote
2 years, 5 months ago
Selected Answer: D
Configure global bpdufilter will still send out around 10 or 12 BPDUs at the very begining, while manually configure on the interface will not send any. Bpdu filter will prevent inbound and outbound bpdu but will remove portfast state on a port if a bpdu is received. Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops.
upvoted 2 times
...
Parot
2 years, 6 months ago
The answer is C!
upvoted 1 times
Parot
2 years, 6 months ago
I had to dig bit deeper and correct myself. Answer is A.
upvoted 1 times
...
...
FrameRelay
2 years, 6 months ago
Selected Answer: C
The question is specific to port fa0/1, therefore global commands are ruled out, thats answers A and B off the table. Answer C is specific to port fa0/1 as requested, and portfast mode ensures all bpdu packets are ignored and maintains the port operational. Answer D has the option of BPDU guard which puts the port in err-disable upon receiving BPDU packets advertising better routes, therefore not the answer. The correct answer is C.
upvoted 1 times
Lalane
2 years, 6 months ago
When you use spanning tree portfast command under interface sub mode interface is still able to send and recieve bpdus , portfast is specifically used for change interface state to forwarding
upvoted 1 times
...
MerlinTheWizard
2 years, 2 months ago
Global commands are not ruled out, they still achieve the desired outcome on a specific interface. You'd rule them out if they would cause some other inconsistency or problems on the rest of the ports. Besides, there is only one option that meets the BPDU requirement (although, as stated in the comments, it would be better if it was per-interface bpdufilter since you're still sending around 10 bpdus initially)
upvoted 1 times
...
...
santiagofarinas
2 years, 9 months ago
A At the global level, you can enable BPDU filtering on Port Fast-enabled STP ports by using the spanning-tree portfast bpdufilter default global configuration command. This command prevents interfaces that are in a Port Fast-operational state from sending or receiving BPDUs. I would say A but would configure the portfast first on the interface
upvoted 1 times
...
BigMouthDog
2 years, 9 months ago
The second condition is "not send or receive BPDUs" ==> we must use bpdufilter , therefore answer b and d will be eliminated. Since answer c does not have configuration part of bpdufilter, it can be taken away as well.
upvoted 1 times
BigMouthDog
2 years, 9 months ago
Also it has to be noticed that the bdpufilter is global configuration mode
upvoted 1 times
Lalane
2 years, 6 months ago
Is global config but only for int with portfast activated
upvoted 1 times
...
...
...
sanalainen
2 years, 9 months ago
Selected Answer: C
Portfast on fa0/1 would make it to transition immediately to a forwarding state. BPDU guard is not enabled by default, so receiving BPDUs would not make it to go errdisable state.
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