200-150 · Question #124
When connecting a switch port to a virtualization host requiring 802.1q VLAN tagging, which spanning-tree port type should be configured on the switch?
The correct answer is C. edge trunk. This question tests which spanning-tree port type is appropriate when a switch port connected to a virtualization host must carry 802.1q tagged VLANs while also benefiting from fast convergence.
Question
When connecting a switch port to a virtualization host requiring 802.1q VLAN tagging, which spanning-tree port type should be configured on the switch?
Options
- Anormal
- Bedge
- Cedge trunk
- DPortFast
- Etrunk
How the community answered
(40 responses)- A18% (7)
- B3% (1)
- C70% (28)
- D3% (1)
- E8% (3)
Why each option
This question tests which spanning-tree port type is appropriate when a switch port connected to a virtualization host must carry 802.1q tagged VLANs while also benefiting from fast convergence.
The 'normal' port type subjects the port to standard STP convergence delays and does not provide the fast-forwarding behavior needed for host-facing ports.
The 'edge' type enables PortFast but is intended for access (untagged) ports connecting to single end hosts, not trunk ports requiring 802.1q tagging.
The 'edge trunk' spanning-tree port type combines PortFast behavior (immediate transition to forwarding state) with trunk port operation, which is required for 802.1q VLAN tagging. Virtualization hosts typically run multiple VMs on different VLANs and expect tagged frames, so the port must function as a trunk. Using 'edge trunk' prevents the 30-second STP listening and learning delay while still allowing multiple tagged VLANs.
PortFast is a legacy interface-level command for access ports; applying it alone on a trunk port requires the additional 'trunk' keyword and is superseded by the 'edge trunk' port type in modern Cisco IOS.
'Trunk' is a switchport mode designation, not a valid spanning-tree port type keyword.
Concept tested: Spanning-tree port type for trunk ports connecting to hypervisors
Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/93x/layer2/configuration/guide/b-cisco-nexus-9000-nx-os-layer-2-switching-configuration-guide-93x/b-cisco-nexus-9000-nx-os-layer-2-switching-configuration-guide-93x_chapter_011.html
Topics
Community Discussion
No community discussion yet for this question.