Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Insecure management protocol

Direct answer

Telnet sends usernames, passwords and all session data in clear text, so anyone on the path can read or capture them.

When to use this

Use it to explain why Telnet must not be used for management.

First 30 seconds

1. Telnet sends credentials in cleartext.

2. Disable on VTYs.

3. Use SSH v2.

4. Check all lines.

5. Audit devices.

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandshow ip ssh
Scope / prerequisiteUse it to explain why Telnet must not be used for management.
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Finding Telnet Verify boundary
show line vty 0 15 | include Allowed input|Allowed output
show tcp brief all | include :23
nmap -p 23 10.0.0.0/24

Any device answering on TCP 23 should be migrated to SSH; for devices that cannot do SSH, restrict Telnet to a management VLAN with ACLs and plan replacement.

Step 2 Common mistakes Narrow the fault
  • Telnet left on VTYs as fallback.
  • Telnet used across untrusted networks.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Replace Telnet with SSH except in a deliberately isolated lab
  • Prefer long unique credentials stored as supported hashes/secrets, not reversible plaintext
  • MFA and certificates reduce reliance on reusable passwords
  • Rotation should be risk/event driven and must not encourage predictable patterns.
Key checks
  • show line vty 0 15 — transport input
  • show running-config | include transport input — config
ReferenceWhat it is1 section · depth on demand

Why Telnet is unsafe

Telnet (TCP 23) sends credentials and every command in clear text; anyone with access to the path (or a SPAN port) can read them with Wireshark ("Follow TCP stream"). It also has no server authentication, so man-in-the-middle is trivial. Find it with show line vty 0 15 | include Allowed or a port scan for TCP 23.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Insecure management protocols expose credentials and configuration

Several legacy protocols send authentication and data without encryption:

ProtocolRiskSecure replacement
Telnet (TCP 23)Clear-text login and sessionSSHv2
HTTP (TCP 80)Clear-text web loginHTTPS (ip http secure-server)
SNMPv1/v2cCommunity string in clear text; no encryptionSNMPv3 with priv
TFTPNo authenticationSCP or SFTP
FTPClear-text credentialsSCP or SFTP

SSH as the baseline on Catalyst 9300

The IOS XE 17.3 SSH chapter describes the server setup: hostname, ip domain name, and crypto key generate rsa (which enables SSH automatically; at least 1024 bits recommended). It also documents timeout and retry settings, and show ip ssh / show ssh for verification.

C9300# show running-config | include ^ip http|^snmp-server community|transport input
ip http server
snmp-server community public RO
 transport input telnet ssh
C9300(config)# no ip http server
C9300(config)# ip http secure-server
C9300(config)# no snmp-server community public
C9300(config)# line vty 0 15
C9300(config-line)# transport input ssh
C9300(config)# ip scp server enable

Audit checklist

ItemCommand
VTY transportshow running-config | section line vty
HTTP server stateshow ip http server status
SNMP communitiesshow snmp community
Listening servicesshow control-plane host open-ports
File transfersUse copy scp: instead of copy tftp:

Compensating controls

When a legacy protocol can't be removed yet (old management tools), restrict it: an ACL to management hosts only, a management VRF or out-of-band network, and a plan to migrate. Encryption doesn't remove the need for access restrictions. Apply access-class on VTY lines for SSH too.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Telnet sends usernames, passwords and all session data in clear text; anyone on the path can capture them with a packet capture. It also lacks server authentication, so it is vulnerable to interception and session hijacking.

show line vty 0 15 | include Allowed input
show users
show control-plane host open-ports | include 23

Any device still accepting transport input telnet should be treated as a finding in audits.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Security → Telnet → Insecure management protocol. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?