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 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.
- 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
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.
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
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
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"?
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
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.
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.
HSong
Highly Voted 1 year, 8 months ago[Removed]
Highly Voted 1 year, 1 month agoemredemircio
7 months, 3 weeks agoLse
Most Recent 3 weeks agobri24838
5 months agoadrianspa
6 months, 3 weeks agoeb63e5a
8 months, 3 weeks ago[Removed]
10 months, 1 week agoaklas
1 year, 1 month agoMaDota
1 year, 2 months agoJunsK1e
1 year, 1 month agoemredemircio
7 months, 3 weeks agotony728
11 months agotony728
11 months agoMetaLuka
1 year, 3 months agoVChatzi
1 year, 1 month agoxbololi
1 year, 6 months agoVChatzi
1 year, 1 month agoBeautifulSmile
1 year, 8 months agoKerrera
1 year, 10 months agoKerrera
1 year, 10 months agoItalian
1 year, 10 months agoGoena
2 years agoShanku97
1 year, 4 months agoJohan_jelly
2 years, 1 month ago