GuideConfigure Cisco Router
GuideConfigure Cisco Router
To explain basic router configuration commands, I will use packet tracer network simulator
software. You can use any network simulator software or can use a real Cisco router to follow this
guide. There is no difference in output as long as your selected software contains the commands
explained in this tutorial.
Create a practice lab as shown in following figure or download this pre-created practice lab and
load in packet tracer
This practice lab is only a recommendation to understand the basic router configuration commands
more clearly, it’s not a requirement to follow this tutorial. You can follow this tutorial in a single
router or even without router.
Cisco IOS supports various command modes, among those followings are the main command
modes.
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 1/9
10/28/2019 Configure Cisco Router Step by Step Guide
User EXEC Router > Default mode after Use exit command
booting. Login with
password, if configured.
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 2/9
10/28/2019 Configure Cisco Router Step by Step Guide
IOS commands are not case sensitive; you can enter them in uppercase, lowercase, or mixed
case.
Password is case sensitive. Make sure you type it in correct case.
In any mode, you can obtain a list of commands available on that mode by entering a question
mark (?).
Standard order of accessing mode is
User Exec mode => Privileged Exec mode => Global Configuration mode => Interface
Configuration mode => Sub Interface Configuration mode
Router will enter in setup mode only if it fails to load a valid running configuration.
Router will enter in ROMMON mode only if it fails to load a valid IOS image file.
You can manually enter in ROMMON mode for diagnostics purpose.
Enter in global configuration mode to execute following commands.
Command Description
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 3/9
10/28/2019 Configure Cisco Router Step by Step Guide
Command Description
Command Description
This message indicates that password is not set on VTY lines. Password is required to connect VTYs.
Following commands set password to TELCNN on VTYs line.
Command Description
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 4/9
10/28/2019 Configure Cisco Router Step by Step Guide
In above example we set password on all five lines collectively but you can do this separately if you
need different passwords for different lines. Steps will be same.
line vty [line number] command will move into that specific line.
password [password] command will assign the desired password.
login command will enable that line to accept the connection.
Secure privilege exec mode with password
Along with access lines we can also secure privilege exec mode with password. We have two
commands to configure the password.
Login banner
We can configure two types of banner on routers; MOTD banner and Exec banner.
banner exec command is not available in packet tracer. You can practice with banner motd
command. Both commands work in same manner. Only the difference between these commands is
the place of display. MOTD banner will display before the login. An EXEC banner will display after
the authentication process and before the exec mode.
Both commands use delimiting character to specify the starting and ending of message. It means
command parser will terminate the message on delimiting character instead of the Enter key. This
feature allows us to span the message in multiple lines.
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 5/9
10/28/2019 Configure Cisco Router Step by Step Guide
dynamic.
In dynamic method we have to configure an external DNS server and need to configure its IP
address on router.
show hosts command will display the currently configured hosts with their IP addresses. Following
figure illustrate an example of static entry for hostname.
After this if IOS has anything to display it will move prompt and your typed command in next line.
Notification will not insert in the middle of command. If you continue typing, the command will
execute properly, even though it looks wrong at prompt.
Never use this command in real world. It could create security risk to your network.
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 6/9
10/28/2019 Configure Cisco Router Step by Step Guide
Serial interface is used to connect wan network. Following command will configure serial 0/0/0
interface.
Command Description
Router(config)#interface serial 0/0/0 Enter into serial interface 0/0/0 configuration mode
Router(config-if)#clock rate 64000 DCE side only command. Assigns a clock rate for the
interface
Serial cable is used to connect serial interfaces. One end of serial cable is DCE while other end is
DTE. You only need to provide clock rate and bandwidth in DCE side.
Command Description
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 7/9
10/28/2019 Configure Cisco Router Step by Step Guide
Command Description
Router(config-if)#no shutdown Turns interface on. All interfaces are set to off
on startup.
For security reason, we should always disable unused interface on router. shutdown command is
used to disable the interface.
At the end of startup it takes configuration file from NVRAM and parse it RAM. We need to erase
this configuration file from NVRAM to remove configuration. Following command will delete
configuration file from NVRAM.
Advertisements
ComputerNetworkingNotes CCNA Study Guide Configure Cisco Router Step by Step Guide
Computer Networking Notes and Study Guides © 2019. All Rights Reserved.
About Privacy Policy Terms and Conditions
https://www.computernetworkingnotes.com/ccna-study-guide/configure-cisco-router-step-by-step-guide.html 9/9