Tutorials · Security

How to Secure the Management of Switches, Routers and Access Points

A hardening checklist for every network device: strong credentials, SSH only, a management VLAN, access lists and logging.

Beginner10 min6 steps

Before you start

  • Admin access to each device

Step by step

  1. Change default credentials

    Set a unique, strong admin password per device and store it in a password manager. Remove unused accounts.

  2. Use encrypted management only

    Enable SSH and HTTPS; disable Telnet and plain HTTP.

    ip ssh version 2
    no ip telnet server
    ip http secure-server
    no ip http server
    
  3. Isolate management

    Put management interfaces in a dedicated VLAN reachable only from admin workstations or a jump host.

  4. Restrict who can connect

    Allow management only from trusted subnets.

    ip access-list standard MGMT
     permit 10.99.0.0 0.0.0.255
    line vty 0 15
     access-class MGMT in
    
  5. Log and timestamp

    Send logs to a syslog server and keep clocks in sync with NTP (see the monitoring tutorials).

  6. Back up configurations

    Keep a copy of every configuration after changes (see the backup tutorial).

Commands are generic, industry-standard examples. Exact syntax and menu names vary by model and firmware; check your device's manual on the Documentation page.

Pro tips

  • Disable unused services such as CDP/LLDP on Internet-facing ports and UPnP on gateways.
  • Use two-factor authentication on cloud management portals.
How to Secure the Management of Switches, Routers and Access Points | Navijin Tutorials