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.
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-forslows 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.
Why disable ip http server and ip http secure-server if they are not used?
Why is authenticated NTP part of hardening?
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.
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.