QuestionQ793

Network Access

Two switches have been deployed, and all interfaces remain at their default settings. A trunk link must be configured between the two switches with these requirements:

  • use an industry-standard trunking protocol
  • allow VLANs 1-10 and block all other VLANs

How should the ports connecting the switches be configured?

  • A switchport mode dynamicchannel-protocol lacpswitchport trunk allowed vlans 1-10
  • B switchport mode trunkswitchport trunk allowed vlans 1-10switchport trunk native vlan 11
  • C switchport mode trunkswitchport trunk encapsulation dot1qswitchport trunk allowed vlans 1-10
  • D switchport mode dynamic desirablechannel-group 1 mode desirableswitchport trunk encapsulation islswitchport trunk allowed vlan except 11-4094
Explanation

An industry-standard Ethernet trunk between Cisco switches uses IEEE 802.1Q. To force the link to operate as a trunk, the port should be set to trunk mode, and to restrict traffic to only VLANs 1 through 10, the allowed VLAN list should be set to 1-10. That matches the configuration with switchport mode trunk, switchport trunk encapsulation dot1q, and switchport trunk allowed vlans 1-10. ISL and DTP-based negotiation do not meet the requirement for an industry-standard trunking protocol, and LACP is an EtherChannel protocol rather than a VLAN trunking protocol.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!