Cisco Router Basic Configuration – We make basic adjustments to the initial setup of Cisco routers. These basic settings are simple and basic settings we made when we included the router in the network.
Cisco Router Basic Configuration

Cisco Router Basic Configuration

How to Configure Cisco Router Step by Step?

In the Cisco Router basic configuration process, if the Cisco router is turned on for the first time, you will be presented with the automatic setup screen. With this automated installation, you can also set the initial configuration of the Cisco router.

But personally, Cisco Router basic configuration with the Cisco CLI is more logical. Although this is a matter of preference, you can do this easily with the Cisco Router Security Manager (SDM).

Before starting the topic, we suggest to you read the topic called the “Cisco Router Modes” to get information.

Basic Cisco Commands

Let’s take a step-by-step look at the commands required for Cisco Router basic configuration.

Changing Cisco Router Hostname

The first step in Cisco Router basic configuration is to change the Cisco Router name. It does with hostname command. Depending on the network topology, you can specify the desired Router name.

[code] R1# configure terminal
R1(config)#hostname ISTANBUL
ISTANBUL(config)#exit
ISTANBUL#
[/code]

How to Assign IP Address to Cisco Router?

The second step in the Cisco Router basic configuration process is to give the Cisco router interface an Ip address. After selecting the interface to be configured, after entering a sub-line with the Enter key, the interface will enter the setting line. This line can also give the IP address using the Ip address command. And we need to use the no shutdown command to enable that interface.

No shutdown command opens the closed interface. If we want to close the interface, we only need to use the shutdown command.

[code] ISTANBUL#conf t
ISTANBUL(config)#interface fastethernet 0/0
ISTANBUL(config-if)#ip address 192.168.8.1 255.255.255.0
ISTANBUL(config-if)#no shutdown
ISTANBUL(config-if)#exit
ISTANBUL(config)#exit
ISTANBUL#
[/code]

Our Recommendation

You can purchase “Cisco Router Step-by-Step Configuration Guide” from Amazon.

Cisco Router Basic Configuration

Cisco Router Unauthorized Access Blocking and Password Determination

Enable Password

In the process of preventing Cisco Router unauthorized access and setting the Cisco Router password, it is necessary to take some precautions to prevent unauthorized access to the Router. For this measure, firstly, the physical security must be provided. The area in which Cisco routers and servers are hosted must be brought to a secure location. The second step is to specify passwords for malicious people trying to gain access to the router over the network.

The enable password “password” command is used to set the password on the Cisco router.

[code] ISTANBUL#conf t
ISTANBUL(config)#enable password cisco123
ISTANBUL(config)#exit
ISTANBUL#disable
ISTANBUL>enable
Password:
ISTANBUL#
[/code]

After setting the password, share it with authorized people only. With the above commands, we set the password for the Cisco router. This password is used while switching from enable mode to privileged mode when connected to the router interface.

Cisco Router Basic Configuration

But this command has one security flaw. The password you specify appears as ClearText. The password will appear when you view the running configuration. You can see this in the image below.

Cisco Router Basic Configuration

In such a case, in the Cisco Router will be one security gap. For example, a staff member who structured the router in the IT department left the room for a minute or two after leaving the job. A malicious person can then log in and see the enable password here using the show running-config command on the router interface.

We have to add another command to overcome this situation.

Enable Secret

With the enable password secret command, we can get over the event described above. Although these two commands are similar, their operation is different. When we give the Enable password, it appears as ClearText. But when we use the enable secret “password” command, the the enable password “password” command will automatically to be disabled.

[code] ISTANBUL#
ISTANBUL#conf t
ISTANBUL(config)#enable secret cisco123456
ISTANBUL(config)#end
ISTANBUL#disable
ISTANBUL>enable
Password: ⇒ I tried the cisco123 password here and it didn’t work.
Password: ⇒ Here the cisco123456 password was tried and successfully logged in.
ISTANBUL#
[/code]

To disable the Enable password command;

[code] ISTANBUL(config)#no enable password
[/code]

Cisco Router Basic Configuration

We have created a password with the enable secret command, and when we switch from user mode to privileged mode, we can log in with our new password.

The view in the running configuration of the enable secret “password” command is hidden. You can see this in the image below.

Cisco Router Basic Configuration

You can read “What is GNS3? and What Does GNS3 Do?” to have information about the GNS3 network simulator program…

Cisco Router Unauthorized Access Message

The purpose of adding an unauthorized access message to the Cisco Router, it is to give a message to a user trying to access the Cisco router. This message informs the user that it has unauthorized access and will not interfere with any settings on the router.

The Cisco Router unauthorized access message is generated by the banner motd # command. The # character you see in the command is used to specify the start and end of the message.

[code] ISTANBUL#conf t
ISTANBUL(config)#banner motd # ⇒ # Press the Enter button after adding the # character.
Enter TEXT message. End with the character ‘#’.
***********************************************************************
***** WARNING ! ***** Unauthorized Access Prohibited ! *********
***********************************************************************#
ISTANBUL(config)#exit
ISTANBUL#
[/code]

Cisco Router Basic Configuration

Once we have created our banner message, we return to the startup screen using the exit command in the Router interface, and the message that we created will appear. This message looks like the one below.

Cisco Router Basic Configuration

Turning Off Cisco Router CLI Notifications

Turning off Cisco Router CLI notifications is a way to turn off notification messages that prevent you from writing commands on the Router’s CLI screen when you are performing any configuration on the router. For example, if you turn off a FastEthernet interface and turn it on, it will notify you as shown below.

Cisco Router Basic Configuration

These notifications from the Cisco router cause confusion when making adjustments on the Router. These notifications have no effect on the commands. It only causes complexity.

We use the logging synchronous command to turn off these notifications on the Cisco router. This command may differ in Cisco IOS software. The logging synchronous command is implemented in global configuration mode.

Turning off Cisco Router Domain Finding

If an undesirable command is entered in the Cisco Router domain search termination user mode, the Cisco router tries to resolve it by sending it to the DNS server because it can not resolve this command. However, if there is no DNS server in the network environment, the DNS lookup takes a long time. In this case, it takes the user’s time. This feature can be turned off if not requested.

[code] ISTANBUL#conf t
ISTANBUL(config)#no ip domain-lookup
ISTANBUL(config)#end
ISTANBUL#
[/code]

Cisco Router Basic Configuration

We recommend to you read the “How to Install GNS3 on Windows 10?” to install the GNS3 network simulator program!

Cisco Router Console Connection

The Cisco Router console connection is typically used when the router is being set up for the first time. A single computer is sufficient for the router console connection. There is a cable between the Cisco equipment to make the Cisco router console connection. This cable is called Rollover cable. One end of the rollover cable has an RJ-45 connection while the other has a DB-9 connection.

Rollover cable;

Cisco Router Basic Configuration

This cable allows the Cisco router to connect to the Cisco Router console for the first configuration. The RJ-45 outlet attaches to the Cisco Router’s Console. The DB-9 is usually plugged into the serial port on the back panel of desktop computers. There are 2 types of DB-9 cable called male end and female end.

Rollover cable converters are also available. For example, the DB-9 can be transformed to a USB port and connected the laptop to the Cisco Router console.

After the above steps, let’s make the console connection for the initial configuration of the Cisco router.

[code] ISTANBUL#conf t
ISTANBUL(config)#line console 0
ISTANBUL(config-line)#password cisco123
ISTANBUL(config-line)#login
ISTANBUL(config-line)#exit
ISTANBUL(config)#exit
ISTANBUL#
[/code]

Cisco Router Basic Configuration

If you want to connect the Cisco router again through the console, you will see the following image.

Cisco Router Basic Configuration

To enter privileged mode, the password specified in the console connection must be entered.

Cisco Router Telnet Connection

To make a Cisco Router Telnet connection, telnet must be enabled by first making a console connection to the Cisco Router. The telnet connection is called VTY. After you enable the Telnet connection, the Cisco router can be connected to the network.

The Telnet connection is configured with the router vty 0 4 command in global configuration mode. 0, 4 represents the connected units. For example, another telnet connection can be made by making line vty 0 5. In a firm, separate connection units can be created and allocated to individual persons.

Cisco Router Telnet connection commands;

[code] ISTANBUL#
ISTANBUL#conf t
ISTANBUL(config)#line vty 0 4
ISTANBUL(config-line)#password cisco321
ISTANBUL(config-line)#login
ISTANBUL(config-line)#exit
ISTANBUL(config)#exit
ISTANBUL#
[/code]

Cisco Router Basic Configuration

Once the CiscoTelnetr telnet connection setting has been made, let’s make the telnet connection to the Cisco Router from any computer on the network using the Putty program.

After the Putty program is clear, type in the Cisco Router FastEthernet 0/0 IP address and select Telnet from the connection type options directly below. Then click the Open / Open button to connect.

Cisco Router Basic Configuration

To the Cisco router have done the telnet connection. As you can see there is a message for unauthorized access.Immediately below, it appears that a telnet connection has been made in the section of User Access Verification Access Validation. First, the password for the telnet connection is written. Then the user access mode password specified by the enable secret “password” command is entered.

Cisco Router Basic Configuration

The following message will appear in the Cisco router CLI interface.

[code] ISTANBUL#
*Mar 1 04:12:11.218: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.8.128)
ISTANBUL#
[/code]

If you do not know how to add Cisco IOS to the GNS3 program, you can browse the topic “Adding Cisco IOS to GNS3

Cisco Router Password Encryption

The process of Cisco Router passwords encryption is to prevent viewing in the running-config all the configured passwords. We can do this with a single command. We can apply this command in global configuration mode by typing service password-encryption.

Cisco Router password encryption;

[code] ISTANBUL#conf t
ISTANBUL(config)#service password-encryption
ISTANBUL(config)#end
ISTANBUL#
[/code]

For example, we configured telnet above. When we look at the working configuration, we see our passwords. This is a false operation and also a security gap.

Cisco Router Basic Configuration

By encrypting passwords we have turned this security gap off.

Cisco Router Basic Configuration

Cisco Router Basic Configuration ⇒ Video

You can watch how to configure Cisco Router step by step and also subscribe to our YouTube channel…

  Final Word

We have talked about the Cisco Router Basic Configuration process. These settings are available in more advanced settings with the default settings. Cisco Router basic configuration commands are the same as all router configuration commands. There are only minor changes due to the Cisco IOS versions.

If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!

Also, you can add to the browser bookmarks by pressing the Ctrl+D to read this article later!

Articles Related to Cisco Router Basic Configuration

Products Related to Cisco Router Basic Configuration
Related Products

Leave a Reply

Your email address will not be published. Required fields are marked *

four × one =