Router configuration commands
![router configuration commands router configuration commands](https://www.cisco.com/E-Learning/bulk/public/tac/cim/cib/using_cisco_ios_software/mod_pix/sh_ver.gif)
- Router configuration commands how to#
- Router configuration commands serial#
- Router configuration commands password#
The following figure displays how to configure IP addresses on a router.
Router configuration commands serial#
To configure 192.168.1.1/24 IP address on the Serial 1/0 interface with the clock rate as 64000, execute the following commands.
![router configuration commands router configuration commands](https://i.ytimg.com/vi/-ghd1y3JIA8/maxresdefault.jpg)
Router1(config)#interface fastethernet 0/0 To configure the 10.0.0.1/8 IP address on the FastEthernett interface, execute the following commands.
Router configuration commands password#
Use the username and password that you have defined in the previous step. You will be prompted for entering the username and password. To verify the user authentication, exit from the User EXEC mode, and press Enter. The following figure displays how to configure user authentication on a Cisco router. Router1(config)#username cisco password ccna123 To configure the user authentication, execute the following commands. User authentication allows you to define a username that is authorized to use a Cisco router. Router(config-line)#exec-timeout minutes Configuring User Authentication on Cisco Router You can also set the timeout interval for the Telnet program. To set the timeout interval, you can use the exec-timeout line configuration command. The following figure displays how to configure the console and telnet passwords on a router. To configure a password for the Telnet program, execute the following commands in the global configuration mode. To prevent the unauthorized users from misusing a device, it is recommended to configure a strong password for the Telnet program. It allows you to manage a device using the Command Line Interface (CLI) interface from a remote location. Notice the banner and type your password at the Password: prompt. The banner, which you have set in the previous step, should be displayed.
![router configuration commands router configuration commands](https://i.ytimg.com/vi/M6qOxC-hLZE/maxresdefault.jpg)
To verify the banner and console passwords, type exit in the privilege mode, and then press Enter. To configure the console password on a router, execute the following commands in the global configuration mode. The following figure displays how to configure the hostname and MOTD banner on a Cisco router. This device is only for simulation purpose. To configure the MOTD banner, execute the following commands. The most commonly used banner is the Message-Of-The-Day (MOTD) banner. Exec: This banner is displayed when a user enters into the User EXEC mode.Generally, it is used to display a permanent message to the users. Login: This banner is displayed after the MOTD banner but before logging into the system.MOTD: This banner is used to display a temporary short message to users.The mostly used banners on a Cisco router are Message-Of-The-Day (MOTD), Login, and User EXEC. Configuring Bannerīanner is used to displaying a short message when a user login to a device. The preceding commands will change the current hostname to Router1. To configure the hostname of a router, execute the following commands. Each device on a network should have a unique hostname. A hostname is used to define the name of a device. Configuring HostnameĬonfiguring hostname is one of the most basic router configuration tasks. In this post, we will discuss how to perform basic router configuration tasks on a Cisco router or switch. The basic router configuration tasks such as configuring hostname, banner, and IP address are some of the common tasks that every network engineer should know.