Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

Hardening Cisco routers: management, control and data plane security checklist

In short: Hardening a router means reducing what an attacker could use. Secure the management plane with AAA, SSH and restricted access; disable services you do not use; protect the control plane with routing authentication, filtering and CoPP; filter traffic at the edge with infrastructure ACLs and uRPF; log everything with accurate time; and keep the software supported and patched.

Think in planes

A router has three areas to protect: the management plane (how admins and tools reach it), the control plane (routing protocols and other traffic to its CPU) and the data plane (traffic it forwards). A baseline that covers all three, applied to every router through templates or automation, is far stronger than ad hoc fixes. The CIS Benchmarks and Cisco's IOS XE hardening guide are good references.

Router hardening checklistAccountsAAA, no shared loginsAccessSSH only, VTY ACLServicesdisable unusedLoggingsyslog, timestampsTimeNTP with authenticationSNMPv3 onlyRoutingauthentication, filtersEdgeiACL, uRPFSoftwaresupported, patched
Figure 1. Harden each plane: who can manage the device, how it talks to neighbours, and what it forwards.

Management plane

aaa new-model
! (AAA configuration as in the AAA note, with a local break-glass account)
enable algorithm-type scrypt secret Example-Only
service password-encryption
security passwords min-length 12
login block-for 120 attempts 5 within 60
ip ssh version 2
ip ssh time-out 60
ip access-list standard MGMT-ONLY
 permit 10.10.99.0 0.0.0.255
line vty 0 15
 transport input ssh
 access-class MGMT-ONLY in
 exec-timeout 10 0
line console 0
 exec-timeout 10 0
banner login ^ Authorised access only. Activity is logged. ^
  • Individual accounts through AAA, strong hashed secrets, SSH only and VTY access limited to the management network.
  • login block-for slows down password-guessing attacks.
  • A login banner that warns of authorised use only (agree the wording with your legal team).

Disable what you do not use

no ip http server
no ip http secure-server      ! unless you use the web UI or RESTCONF
no cdp run                    ! or disable per interface towards untrusted networks
no ip source-route
no service pad
interface GigabitEthernet0/0/0
 description Internet
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 no cdp enable

Logging and time

service timestamps log datetime msec localtime show-timezone
logging buffered 64000 informational
logging host 10.10.5.30
ntp authenticate
ntp authentication-key 1 hmac-sha2-256 Example-Ntp-Key
ntp trusted-key 1
ntp server 10.10.5.40 key 1

Accurate time makes logs useful during an investigation, and authenticated NTP stops someone changing the router's clock.

SNMP

Remove SNMPv1/v2c communities such as "public" and "private". Use SNMPv3 with authentication and privacy (authPriv), restricted to your monitoring servers with an ACL.

Control and data plane

  • Routing protocol authentication (OSPF and EIGRP with HMAC-SHA, BGP with TCP-AO or MD5), passive interfaces by default and prefix filters on every BGP session.
  • CoPP to protect the CPU.
  • Infrastructure ACLs on internet-facing interfaces, dropping traffic aimed at your router addresses except what is needed.
  • uRPF and bogon filtering to drop spoofed source addresses.

Software and configuration management

  • Run a supported, patched release and follow vendor security advisories.
  • Back up configurations automatically and compare them against your baseline to catch drift.
  • Remove unused accounts, interfaces and old configuration.

Real-world example: the forgotten web server

In 2023, a critical vulnerability in the IOS XE web interface let attackers create admin accounts on tens of thousands of internet-exposed devices. Organisations that had disabled ip http server and ip http secure-server, or restricted them to management networks, were not affected. A one-line hardening step made the difference.

Practice

Name three management plane hardening steps on a Cisco router.
Any three of: AAA with individual accounts, SSH only, VTY access-class, strong hashed secrets, login block-for, exec timeouts, login banner.
Why disable ip http server and ip http secure-server if they are not used?
They expose a web interface that has had serious vulnerabilities; removing unused services reduces the attack surface.
Why is authenticated NTP part of hardening?
Accurate, tamper-resistant time keeps logs reliable for investigations and prevents clock manipulation.

Key takeaways

  • Harden the management, control and data planes with a standard baseline.
  • Use AAA, SSH only, VTY ACLs and strong secrets; disable unused services.
  • Log with accurate, authenticated time; use SNMPv3 only.
  • Protect routing, use CoPP, iACLs and uRPF, and keep software patched.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: