
Configure Initial Router Settings
Configure initial settings on an IOS Cisco router.
Basic Router Configuration Steps
- Configure the device name.
Router(config)# hostname hostname
- Secure privileged EXEC mode.
Router(config)# enable secret password
- Secure user EXEC mode.
Router(config)# line console 0
Router(config-line)# password password
Router(config-line)# login
- Secure remote Telnet / SSH access.
Router(config)# line vty 0 4
Router(config-line)# password password
Router(config-line)# login
Router(config-line)# transport input {ssh | telnet}
- Encrypt all plaintext passwords.
Router(config)# service password encryption
- Provide legal notification and save the configuration.
Router(config)# banner motd # message #
Router(config)# end
Router# copy running-config startup-config
- Commands for basic router configuration on R1.
R1(config)# hostname R1
R1(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config-line)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config-line)# transport input ssh telnet
R1(config-line)# exit
R1(config)# service password encryption
R1(config)# banner motd #
Enter TEXT message. End with a new line and the #
***********************************************
WARNING: Unauthorized access is prohibited!
**********************************************
R1(config)# exit
R1# copy running-config startup-config
- Configuration is saved to NVRAM.
Other related topics
Topic Title | Topic Objective |
---|---|
Configure Initial Router Settings | Configure initial settings on an IOS Cisco router. |
Configure Interfaces | Configure two active interfaces on a Cisco IOS router. |
Configure the Default Gateway | Configure devices to use the default gateway. |
Other useful information