exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 306 discussion

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


Refer to the exhibit. Switch AccSw1 has just been added to the network along with PC2. All VLANs have been implemented on AccSw2. How must the ports on
AccSw2 be configured to establish Layer 2 connectivity between PC1 and PC2?

  • A. interface GigabitEthernet1/2 switchport mode access switchport access vlan 2 ! interface GigabitEthernet1/24 switchport mode trunk
  • B. interface GigabitEthernet1/1 switchport mode access switchport access vlan 11 ! interface GigabitEthernet1/24 switchport mode trunk
  • C. interface GigabitEthernet1/24 switchport mode trunk switchport trunk allowed vlan 11, 12 ! interface GigabitEthernet1/1 switchport access vlan 11
  • D. interface GigabitEthernet1/2 switchport mode access switchport access vlan 12 ! interface GigabitEthernet1/24 switchport mode trunk switchport trunk allowed vlan 11, 12
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
[Removed]
Highly Voted 2 years, 8 months ago
Selected Answer: B
I imagine that the confusion is the "switchport trunk allowed VLAN 11, 12" command in option C. Please note that this just a distraction. As you may have learnt already when you apply the "switchport mode trunk" on an interface it allows all VLANs by default. So by using this command in option B all VLANs 1 - 4094 are allowed over the trunk. For security reasons, during our network design we tend to remove all vlans and only allow the vlans we desire. If we apply the command in option C "switchport trunk allowed VLAN 11, 12" it would delete all vlans and only allow VLANs 11 and 12. This means that all other devices or departments who are dependent on this trunk will be cut-off. One of the biggest blunders sometimes made by beginners is to delete an entire VLAN by overwriting it. Always remember to use the "add" command when adding new VLANs to a trunk already configured for other VLANs.
upvoted 74 times
[Removed]
2 years, 8 months ago
Reference page 5 in the Cisco document https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst_digital_building_series_switches/software/15-2_5_ex/configuration_guide/b_1525ex_consolidated_cdb_cg/b_1525ex_consolidated_cdb_cg_chapter_0110101.pdf&ved=2ahUKEwjtxrDFlO_6AhW-ADQIHZk1B6QQFnoECA8QBQ&usg=AOvVaw1HVa1ltIBL8EHVJI_H7g8b
upvoted 1 times
MeNDdvil
4 months ago
You absolutely right!
upvoted 1 times
...
...
7d040c6
10 months, 3 weeks ago
All true, but the question only mentions connectivity between devices in VLAN 11, so B and C both achieve this. I agree B is the better answer, though.
upvoted 2 times
...
linuxlife
2 years, 3 months ago
well explained. this is right.
upvoted 1 times
...
AbdullahMohammad251
1 year, 5 months ago
Thanks! man
upvoted 1 times
...
...
splashy
Highly Voted 2 years, 9 months ago
Selected Answer: B
A wrong interface D wrong interface C Traffic to/from servers won't be possible as it is tagged (vlan) and not untagged
upvoted 6 times
...
Mudy08
Most Recent 1 month, 2 weeks ago
Selected Answer: B
Option C is missing a command "switchport mode access". So, this makes Option B the correct answer.
upvoted 1 times
...
anoop4487
4 months, 1 week ago
Selected Answer: C
GigabitEthernet1/1 is configured as an access port in VLAN 11, which matches the VLAN assigned to the Staff PCs. GigabitEthernet1/24 is configured as a trunk port, allowing VLANs 11 and 12 to pass through, ensuring proper communication across the switches. This configuration ensures that the Staff PCs on VLAN 11 can communicate with each other while also allowing VLAN 12 traffic to pass through the trunk link.
upvoted 2 times
...
[Removed]
1 year, 3 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
zFlyingLotusz
1 year, 11 months ago
Why the heck would a PC use gigabit ports and not FA ports?
upvoted 1 times
7d040c6
10 months, 3 weeks ago
Because all ports are gigabit on the switch...? Why wouldn't you want the PCs on gigabit ports if you have it available?
upvoted 1 times
...
...
BeautifulSmile
2 years, 1 month ago
Take note of the two PCs. They are in the same vlan, which is Sales. hence, the correct answer is B.
upvoted 1 times
BeautifulSmile
2 years, 1 month ago
I mean Staff not sales.
upvoted 1 times
...
...
binjalala
2 years, 6 months ago
the question asked "How must the ports on AccSw2 be configured?" so the correct answer should be C
upvoted 1 times
...
korekwsieci
2 years, 7 months ago
The question was: how to establish Layer 2 connectivity between PC1 and PC2. So answer C is also correct since the connecion between this two specified host will work just fine.
upvoted 3 times
...
g_mindset
2 years, 9 months ago
Selected Answer: C
Answer is C, switchport trunk allowed VLAN 11, 12
upvoted 5 times
[Removed]
2 years, 8 months ago
You would not need to allow vlan 12 on the trunk to support a connection between two work stations. Both pc's are in the same VLAN. I believe the answer would be B
upvoted 4 times
cyborg7
2 years, 8 months ago
Even two wks are not in same VLAN, switchport mode trunk will included in VLANSs
upvoted 1 times
...
...
Taku2023
2 years, 3 months ago
IF you use that command only vlan 11, 12 will be allowed on the trunk. the command override the command "switchport mode trunk"
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 ...