exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 309 discussion

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


Refer to the exhibit. Two new switches are being installed. The remote monitoring team uses the support network to monitor both switches. Which configuration is the next step to establish a Layer 2 connection between the two PCs?

  • A. SwitchA(config)#interface GigabitEthernet0/1 SwitchA(config-if)#switchport access vlan 500 SwitchB(config)#interface GigabitEthernet0/1 SwitchB(config-if)#switchport access vlan 500
  • B. SwitchA(config)#interface GigabitEthernet0/1 SwitchA(config-if)#switchport mode trunk SwitchB(config)#interface GigabitEthernet0/1 SwitchB(config-if)#switchport mode trunk
  • C. SwitchA(config)#interface GigabitEthernet0/0 SwitchA(config-if)#switchport trunk allowed vlan 500, 550 SwitchB(config)#interface GigabitEthernet0/0 SwitchB(config-if)#switchport trunk allowed vlan 500, 550
  • D. SwitchA(config)#interface GigabitEthernet0/0 SwitchA(config-if)#spanning-tree portfast SwitchA(config-if)#spanning-tree bpduguard enable SwitchB(config)#interface GigabitEthernet0/0 SwitchB(config-if)#spanning-tree portfast SwitchB(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
HSong
Highly Voted 1 year, 8 months ago
A Please note that the PCs are all for Sales department
upvoted 11 times
...
[Removed]
Highly Voted 1 year, 1 month ago
A is correct. Remember: A trunk port will carry all VLANs by default. "Allowed VLANs on a Trunk By default, a trunk port sends traffic to and receives traffic from all VLANs. All VLAN IDs, 1 to 4094, are allowed on each trunk. " https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/vlan/configuration_guide/b_vlan_152ex_2960-x_cg/b_vlan_152ex_2960-x_cg_chapter_0100.pdf Answer C is incorrect because the access ports connecting to the PC's are never configured, but the trunk connections are limited to the specified VLANs, meaning there's no connectivity. However, the question is broken, as ususal. The two PC's already have L2 connectivity without *any* further configuration...test it in Packet Tracer.
upvoted 8 times
emredemircio
7 months, 3 weeks ago
you are right! we are correcting questions! if there was a "switchport trunk allowed vlan" command, A was spot on.
upvoted 1 times
...
...
Lse
Most Recent 3 weeks ago
Selected Answer: A
- By default, a trunk port allows all VLANs unless explicitly restricted - If no native VLAN is configured, the switch defaults to VLAN 1. - Only PC ports need to be configure as access port & access vlan
upvoted 1 times
...
bri24838
5 months ago
Switch A Configuration: vian 500 nane sales ! vlan 550 nane support ! interface GigabitEthernet0/0 switchport mode trunk ! interface GigabitEthernet0/1 switchport mode access spanning-tree portfast spanning-tree bpduguard enable interface GigabitEthernet0/1 switchport access vlan 500 Switch B Configuration: vlan 500 name sales ! vlan 550 name support ! interface GigabitEthernet0/0 switchport mode trunk ! interface GigabitEthernet0/1 switchport mode access spanning-tree portfast spanning-tree bpduguard enable interface GigabitEthernet0/1 switchport access vlan 500
upvoted 1 times
...
adrianspa
6 months, 3 weeks ago
Selected Answer: A
C is a trap as the Trunk is already configured by default to carry all VLANS. The answer is A.
upvoted 2 times
...
eb63e5a
8 months, 3 weeks ago
no trunk port is needed
upvoted 1 times
...
[Removed]
10 months, 1 week ago
Selected Answer: A
A is correct
upvoted 2 times
...
aklas
1 year, 1 month ago
Selected Answer: A
Answer is A, all ports start in VLAN1 by default so the PC ports need to be moved to one of the VLANs. Trunk carries all VLANs by default so pruning command is not needed.
upvoted 5 times
...
MaDota
1 year, 2 months ago
Selected Answer: C
Answer is C, even if the access interfaces are configured on the switches these pcs won't be able to ping eachother since the trunk interface is not transporting those vlans
upvoted 2 times
JunsK1e
1 year, 1 month ago
for me, in this scenario configure the vlan number of access port, then by default all vlans are allowed since the port of g0/0 is trunk.
upvoted 4 times
emredemircio
7 months, 3 weeks ago
no need to configure it because when trunk enabled, all vlans are transported by default.
upvoted 1 times
...
...
tony728
11 months ago
Switch(config-if)#do show run | s Ethernet0/0 interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk Switch(config-if)#do show int tr Port Mode Encapsulation Status Native vlan Et0/0 on 802.1q trunking 1 Port Vlans allowed on trunk Et0/0 1-4094 Port Vlans allowed and active in management domain Et0/0 1 Port Vlans in spanning tree forwarding state and not pruned Et0/0 1
upvoted 1 times
tony728
11 months ago
I only type switchport mode trunk,but "Port Vlans allowed on trunk" have 1-4094. So I think A is correct.
upvoted 1 times
...
...
...
MetaLuka
1 year, 3 months ago
a question, but to travel on the trunk shouldn't the vlans also be configured on the g0/0 interface of both switches with the command "switch port trunk allowed vlan 500,550"?
upvoted 1 times
VChatzi
1 year, 1 month ago
if you configure a port trunk and you don't specify which vlans are allowed by default in cisco devices all vlans are allowed. so you in this scenario you have only to configure the access ports with the appropriate vlan
upvoted 1 times
...
...
xbololi
1 year, 6 months ago
you never want a sales personel get access to support/manager vlan trust me :)
upvoted 3 times
VChatzi
1 year, 1 month ago
xaxaxaxa
upvoted 1 times
...
...
BeautifulSmile
1 year, 8 months ago
Take note of the Vlan the two PCs belong to. They both belong to Sales which is the Vlan 500 and from the configurations given, you just need to add the sales vlan to established connection between the two PCs. The correct answer is A.
upvoted 2 times
...
Kerrera
1 year, 10 months ago
Selected Answer: A
L2 connectivity done : vlans allowed on trunk 1-1005. The next step is to configure the access
upvoted 2 times
...
Kerrera
1 year, 10 months ago
L2 connectivity done : vlans allowed on trunk 1-1005. The next step is to configure the access
upvoted 1 times
...
Italian
1 year, 10 months ago
Selected Answer: C
Support network has already been configured, for connectivity between the two PCs both vlans should be allowed on the G0/0 interface of both switch
upvoted 1 times
...
Goena
2 years ago
Selected Answer: A
It is indeed another tricky question: the support vlan 550 is already configured. So the next step is to configure vlan 500.
upvoted 3 times
Shanku97
1 year, 4 months ago
how is it already configured ?
upvoted 1 times
...
...
Johan_jelly
2 years, 1 month ago
key word here is next step
upvoted 2 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