Network Access

A trunk port connects to a hypervisor host carrying several VLANs, with no switch behind it. The port must forward immediately when it comes up. Which command achieves this on that port?

Show the answer

Correct answerB. spanning-tree portfast trunk

AWhy not this: BPDU guard protects a port from BPDUs and does not skip the transition to forwarding.

BWhy this is right: The trunk keyword enables PortFast behavior on a trunk port facing a non-switch device.

CWhy not this: The global default enables PortFast only on access ports, so a trunk is left out.

DWhy not this: Point-to-point link type speeds up Rapid PVST+ negotiation but does not make the port an edge port.

The trunk keyword makes PortFast apply to a trunk port that connects to a host. The global portfast default command affects only nontrunking access ports, so it would not cover this trunk.