DTE vs DCE: Key Differences in Serial Communication Explained
DTE (Data Terminal Equipment) is the endpoint device—your laptop, router, or dumb terminal—while DCE (Data Circuit-terminating Equipment) is the modem, CSU/DSU, or any unit that supplies clocking and converts data for the line. Think of DTE as the speaker and DCE as the translator.
People grab the wrong cable because both ends look identical: a 9-pin or 25-pin connector. The catch is DTE expects to receive clock and handshake signals, while DCE sends them. Swap the labels and your link stays dark even though the LEDs glow green.
Key Differences
DTE initiates communication and needs clock from DCE. DCE provides clock and signal conversion. Pin-outs differ: DTE pin 2 transmits, DCE pin 2 receives—so a null-modem cable flips these lines to connect two DTEs directly.
Which One Should You Choose?
You don’t “choose”; your device role is fixed. If you’re wiring two computers, use a null-modem cable or USB adapter that swaps the roles. Always check the manual for the “DCE” label before ordering cabling.
Examples and Daily Life
Plugging a Cisco router (DTE) to a CSU/DSU (DCE) uses a straight-through serial cable. Connecting two routers back-to-back requires a rolled or null-modem cable so one router pretends to be DCE by supplying clock.
How do I tell which device is DTE?
Look for the label on the port or check the manual; routers and PCs are typically DTE.
Can I force a DTE to act as DCE?
Yes, use the clock rate command on Cisco routers to make the serial interface provide clocking.
Do USB-to-serial adapters change the role?
No, the adapter presents itself as DTE; you still need the right cable to match the far end.