Ports negotiating trunking (DTP)
At a glance
Base severity
Area
Platform
Evidence level
Benchmark reference
Reads the export, not the device
ConfigProof reads a configuration export. This control is evaluated against the objects in that file, and it reports what the file says. It does not connect to the device and sees no traffic, so a finding here describes the configuration, not what the firewall is doing right now.
Why it matters
A device on such a port can negotiate a trunk and reach every VLAN the switch carries (VLAN hopping).
How to fix it
Web interface
The steps below are written for the web interface. A finding raised on your own export carries the same steps with your object names filled in.
- Set every user port to switchport mode access and every trunk to switchport mode trunk with switchport nonegotiate.
Command line
Cisco IOS-XE CLI
configure terminalinterface <interface>switchport mode accessswitchport nonegotiateendwrite memory
An example. Values in angle brackets are yours to supply; a finding on your own export fills in the names it read. Typed in configuration mode; copy running-config startup-config saves it, with no separate commit. Read every line first.
Read it back
show interfaces <interface> switchportValues to fill in1
- <interface>
- Each affected port
Before you type it2
- Written from the Cisco IOS-XE 17 and NX-OS 9 and 10 command references and not run on a device: read each line before you paste it.
- Repeat the interface lines for every affected port, or use interface range.
How to confirm the fix
- show interfaces switchport shows no port in dynamic auto or dynamic desirable mode.
Limits
- A Catalyst port with no switchport mode line negotiates by default; such ports are included.
Compliance references
No benchmark recommendation is mapped to this control in this version.
More in Interfaces and Segmentation
- SW-SEC-006Edge ports without BPDU guard
- SW-SEC-008Trunk native VLAN is VLAN 1
- SW-SEC-009Trunk carries every VLAN
- SW-SEC-010User ports in the default VLAN
- SW-SEC-011DHCP snooping not enabled
- SW-SEC-012Dynamic ARP inspection not enabled
- SW-SEC-016VTP in server or client mode
- SW-SEC-017vPC peer link with no separate peer keepalive
See it on your own firewall
One complete analysis of one firewall costs nothing. A card is required and nothing is charged.