Router's initial configuration
This section covers the router's initial configuration. As such, it is recommended to run it every time the router is taken out of the box, or when you have reloaded the startup configuration on a router.
Configuring basic router settings
Just as we did in the initial configuration of the switch, this configuration type is also necessary for the router.Such, a configuration primarily covers the security aspect of the device, as well as anticipating the advanced configuration of the device before it is placed in the production environment:
- Accessing privileged EXEC mode: Enter the following command to access the privileged EXEC mode:
Router> enable
Router#
- Accessing configuration mode: Enter the following command to access the configuration mode:
Router# configure terminal
Router(config)#
- Naming the router: Enter the following command to assign a name to the router:
Router(config)# hostname R1
R1(config)#
- Preventing unwanted DNS lookups: Enter the following command...