DTP: dynamic auto, dynamic desirable and safe trunks
Sign in to read this lesson
Besides access and trunk, a port can be in dynamic mode. DTP (Dynamic Trunking Protocol) negotiates whether the link between two switches becomes a trunk. Dynamic desirable "wants" to be a trunk, while dynamic auto only becomes a trunk when the other side asks. Two autos end up as access. Leaving ports dynamic is dangerous: an outside device can form a trunk and reach every VLAN. So the recommendation is to set the mode yourself and switch DTP off with "switchport nonegotiate". Communication between VLANs needs a Layer 3 device.
What you will learn
- DTP (Dynamic Trunking Protocol) is Cisco proprietary: it negotiates with the neighbour whether a port becomes access or trunk. Frames go to
01:00:0c:cc:cc:ccabout every 30 seconds. - dynamic desirable tries to become a trunk (it actively asks). dynamic auto is passive: it only trunks when the other side is desirable or trunk. auto + auto = access.
- Combinations: trunk/desirable with the other side trunk/desirable/auto → trunk. Other side access → access. Access + trunk = mismatch (limited); STP may block the port.
- On most modern switches the default is dynamic auto: a device plugged into a wall jack can form a trunk with DTP. Fix: set the mode yourself +
switchport nonegotiate. - Different VLANs only talk to each other through a Layer 3 device: a router (router on a stick) or a Layer 3 switch.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.