A network engineer configures interface GigabitEthernet0/1 on Switch-1 with the commands `switchport mode trunk` and `switchport nonegotiate`. The connected interface GigabitEthernet0/1 on Switch-2 remains in its default configuration of `switchport mode dynamic auto`. What is the resulting operational state of interface GigabitEthernet0/1 on Switch-2?
- It operates as an access port because it does not receive Dynamic Trunking Protocol (DTP) frames from Switch-1 to trigger trunk negotiation.Answer
- BIt automatically negotiates an 802.1Q trunk because CDP detects that Switch-1 has trunking enabled on the interface.
- CIt generates continuous native VLAN mismatch error messages because DTP is disabled on Switch-1.
- DIt enables PortFast on the trunk link to establish forwarding without requiring DTP frames.
Answer
Interface GigabitEthernet0/1 on Switch-2 operates as an access port because `switchport nonegotiate` on Switch-1 suppresses DTP frames, leaving Switch-2 in its default passive access state.
The command `switchport nonegotiate` turns off DTP frame generation on Switch-1. Because interface GigabitEthernet0/1 on Switch-2 is set to `dynamic auto`, it relies on receiving incoming DTP negotiation frames to transition to a trunking state. Receiving no DTP frames from Switch-1, Switch-2 stays in its default operational mode of access, resulting in a misconfiguration where Switch-1 trunks while Switch-2 acts as an access port.
Step-by-Step Solution
Key Concept
802.1Q Trunking DTP Negotiation and Nonegotiate Interaction