Router – Secure a Router – Basic

Below are a few steps to set up basic security on a router,


Set Banner.

(config)#banner motd


Set Secret enable password.

(config)#enable secret <password>

Set Line terminal passwords.

(config)#line <terminal> <number>
(config-line)#password <password>

Line Timeout

On VTY set timout out

(config-line)#exec-timeout <min>

Copy the Config changes

#(config) Copy running-config startup-config

Rick Donato

Want to become a networking expert?

Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA 200-301 Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial