DTP thoughts
So, I started to dive a little deeper into DTP for some reason.. just wanted to think out loud a bit and make sure my thinking is correct.
I'm just gonna type up various thoughts and number them for better organization.. anyone can respond to any or all if they wish.
Thought #1. There are two ways to disable DTP generation on a switchport... Either by configuring a switchport to "switchport mode access" ... OR... "switchport mode trunk" followed by "switchport nonegotiate" (and note, that you can also do "switchport nonegotiate" on a switchport following "switchport mode access," but its just overkill since DTP is already turned off by setting it to access)
2. In the SWITCH FLG, on page 72, it states that Access mode function "Puts the interface into permanent nontrunking mode and negotiates to convert the link into a nontrunk link." Now I know that both the OCG and FLG have mistakes, but not sure if there is errata that can be downloaded for the FLG like there is for the OCG? So, is this a mistake? My thinking was that setting a port to access mode would disable DTP.. see the following output:
DSW1#sho run int fa0/11
Building configuration...
Current configuration : 58 bytes
!
interface FastEthernet0/11
switchport mode access
end
And then....
DSW1#sho dtp int fa0/11
DTP information for FastEthernet0/11:
TOS/TAS/TNS: ACCESS/OFF/ACCESS
TOT/TAT/TNT: NATIVE/NEGOTIATE/NATIVE
Neighbor address 1: 000000000000
Neighbor address 2: 000000000000
Hello timer expiration (sec/state): never/STOPPED
Access timer expiration (sec/state): never/STOPPED
Negotiation timer expiration (sec/state): never/STOPPED
Multidrop timer expiration (sec/state): never/STOPPED
FSM state: S1:OFF
# times multi & trunk 0
Enabled: no
In STP: no
Also, when doing a "debug dtp all", I don't see any dtp being received from the other side.
In addition, I found a Cisco pdf with interesting info too.. I was going to copy/paste a link to this Cisco PDF, but it's super long, so I'll just say how to find it. Google "cisco basics dtp" and the first link there which is a pdf (albeit an old one), claims "switchport mode access - This command puts the interface (access port) into permanent nontrunking mode. The interface will generate DTP frames, negotiating with the neighboring interface to convert the link into a nontrunk link."
3. The bold text from the last part really gets me. Maybe Cisco switches USED to generate dtp frames even when configured in Access mode, but not anymore, and the FLG is just not updated? Also, I guess it wouldn't matter even if a switchport configured in access mode DID send dtp frames, since it can't be negotiated into a trunk regardless, hence no security risk?
4. Even when I set all of my switchports to access mode.. and it appears off when doing a "show dtp int fa0/x" the output of other commands have somewhat conflicting info... such as:
(Still says all interfaces using DTP, when all are in access mode)
DSW1#sho dtp
Global DTP information
Sending DTP Hello packets every 30 seconds
Dynamic Trunk timeout is 300 seconds
26 interfaces using DTP
And...
DSW1#sho int counters protocol status
FastEthernet0/11: Other, IP, Spanning Tree, CDP, VTP, DTP
5. In researching a little, I see that the destination MAC address in DTP frames is 01:00:0c:cc:cc:cc, which is the same used for CDP, VTP, DTP, PAgP, UDLD, etc.. so disabling DTP entirely means you would tell the switch to stop accepting frames to 01:00:0c:cc:cc:cc, which would also impact CDP, VTP, PAgP frames, etc. ? But even though "sho dtp" says all interfaces using DTP, that doesn't imply that they're generating DTP frames, rather still listening for them.
Alright I know this post was long, but I just like to get down to all the details, it really helps me understand things better. I'm already comforatble with the trunk outcomes for all combinations, but I was just looking for a little more of the specifics since that FLG comment threw me a little. This is my first time deep diving into DTP.. Any comments are appreciated!