Task
Initial Configuration
There is no initial configuration in this lab.
Explanation
Banner is used to give someone security alert who wants to telnet into your internetwork. The security warning or message can be produced and personalised and will be displayed on the router when someone attempts to access your computer. Here are the three types of banners that you need to make sure you know:
Exec banner – A line-activation (exec) banner can be configured to be displayed when EXEC processes have been formed, such as line activation or an incoming link to a VTY line. An exec banner can be triggered simply by initiating a user exec session via a console port.
Login banner – After the MOTD banner but before the login prompts, this banner will come up. You can not disable this login banner on a per-line basis, so you have to uninstall it with the No Banner Login command to disable it globally.
Message of the day banner– The most frequently used banners are Message of the Day (MOTD) banners since they send a message to anyone connecting via Telnet or an auxiliary port or even via a console port to the router.
Configuration
For goal one, you must configure a login banner to warn the legal details and privacy information of the incoming session. You would need to use a delimiting character when configuring a banner; that is a character that appears only at the beginning and end of the banner. A ^ is widely used.
As shown below is the login banner configuration verification
Press RETURN to get started.
#######################################################
# #
Router>
Use the following text Session set to $(hostname) on line $(line) To configure the exec banner as needed by objective 3, use the following text Session set to $(hostname) on line $(line) Like the previous login banner you configured, you execute the same command in global configuration mode, but instead execute banner login ^ as shown below.
After configuring the exec banner, check your setup by terminating the exec session and resetting the system to an exec session, as shown below.
session establish to R1via line 0
Router>
Is the last objective of the lab which is to configure a Message of the Day banner, which is commonly used to display maintenance information on the Cisco device such as “This router will undergo routine maintenance on 01/01/10 from 12:00AM to 2:00AM”. The MOTD banner is displayed prior to the login banner on a Cisco Router or Switch and is configured the same was as any other banner which is to execute the banner command followed by the type of banner and the delimiting character in global configuration mode.
“It is the last aim of the laboratory to configure a Day Message banner that is widely used to display maintenance details on the Cisco computer, such as” This router will undergo regular maintenance from 12:00 to 2:00 AM on 01/01/10. The MOTD banner is displayed on a Cisco Router or Switch before the login banner and is configured the same as any other banner to run the banner command followed by the banner type and the delimiting character in the global configuration mode.
As shown below is an example MOTD banner configuration and verification
press RETURN to get started
THIS ROUTER WILL BE ON MAINTAINENECE ON 15/10/2016 TO 16/10/2016
seesion to establish to R2 on line 0
R2>