Troubleshooting notes · Switching
Trunk not forming between two switches: dynamic auto on both sides
A link between two Cisco switches stays an access port instead of a trunk. Why two dynamic auto ports never negotiate a trunk with DTP, and the fix. Real output from Cisco IOS XE 17.18.
The symptom
The uplink between two switches should be a trunk, but show interfaces trunk shows nothing, and the port runs as an access port in VLAN 1:
SW1# show interfaces Ethernet0/0 switchport | include Administrative Mode|Operational Mode
Administrative Mode: dynamic auto
Operational Mode: static access
SW2# show interfaces trunk
SW2#
Why it happens
DTP (Dynamic Trunking Protocol) negotiates trunks. A port in dynamic auto becomes a trunk only if the other side asks. If both sides are dynamic auto, both wait, and nobody asks. The result for each combination:
trunk+trunk,dynamic autoordynamic desirable: trunkdynamic desirable+dynamic autoordynamic desirable: trunkdynamic auto+dynamic auto: access
The fix
Make at least one side a trunk explicitly. Here the core switch:
SW1(config)# interface Ethernet0/0
SW1(config-if)# switchport mode trunk
Best practice is switchport mode trunk on both sides, plus switchport nonegotiate if you don't want DTP at all.
Check it
show interfaces trunk on both switches should list the port as trunking. Then check the native VLAN: once a link trunks, a native VLAN mismatch often shows up next.
Practise this fault
This fault is in ENCOR Lab 06 of ENCOR Core Labs: a ready-made GNS3 project where you find and fix it yourself, alongside the other faults in the ticket, with the tested solution.
Or start with 15 free labs (5 each from CCNA, ENARSI and ENCOR), by email:
We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.