Disable negotiation
Cheat sheet · https://pcornel.dk/topic.php?topic=986
Answer
switchport nonegotiate stops the port from sending DTP frames. Combined with switchport mode trunk or switchport mode access, the port mode is fixed and cannot be negotiated.
Remember
Nonegotiate works only with a static mode; it is rejected on dynamic ports. Both ends must then be configured statically — a nonegotiate trunk facing a dynamic auto port forms no trunk on that side. Access-mode ports send no DTP anyway.
First checks
show dtp interface <if>— DTP state, TOS/TAS/TNS, packets sent and received.show interfaces <if> switchport— Administrative Mode, Operational Mode, Negotiation of Trunking.show interfaces trunk— ports that ended up trunking.
Commands
switchport nonegotiate- Disable DTP negotiation on the port.
show interfaces trunk
Verify in this order
administrative mode on end A → administrative mode on end B → DTP frames exchanged → mode combination decides the result → operational mode trunk or access
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=986