Secure management protocols
Cheat sheet · https://pcornel.dk/topic.php?topic=1479
Answer
Secure management protocols encrypt and authenticate management traffic: SSH instead of Telnet, HTTPS instead of HTTP, SNMPv3 with authPriv instead of v1/v2c, SCP/SFTP instead of TFTP/FTP.
Remember
SSH needs a hostname, a domain name and an RSA key (crypto key generate rsa modulus 2048) and ip ssh version 2. SNMPv3 security level priv encrypts; auth only authenticates. Turn off the old protocol once the new one works.
First checks
show running-config | section line vty— transport input and access-class.show ip ssh— SSH version and enabled.show ip http server status— HTTP/HTTPS server state.show control-plane host open-ports— services listening on the device.show interfaces status | include disabled|notconnect— unused ports.show ntp associationsandshow logging— time and logs.
Commands
ip ssh version 2ip scp server enableip http secure-server
Verify in this order
unneeded services off → management only over SSH/HTTPS → management restricted by ACL → strong credentials and AAA → unused ports shut → logging and NTP in place
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1479