- If you are using GNS3 than load the Stub Area Networking GNS3 topology file than start R1.
- Establish a Console session with Router 1.
- Configure a login banner so that any attempted connections to the device are prompted with Legal information.
- Configure an EXEC banner so that when a user establishes an exec session with the device the device displays the hostname and current line the session was established on.
- Configure a Message of The Day (MOTD) Banner to display current scheduled downtime for device maintenance.
Step 1. For objective one youâ€™re required to configure a Login banner to inform incoming sessions legal information and privacy information. When configuring a banner youâ€™ll need to use a delimiting character; which is a character that only appears at the beginning and end of the banner. The ^ is commonly used. To set a banner youâ€™ll use the banner command followed by the type of banner rather it be login, exec, motd and the delimiting character. As shown below you can see a basic Login banner is configured and configuration is verified by ending and reestablishing an exec session with the device.
As shown below is the login banner configuration verfication.
Objective 2. Requests that you to configure an exec banner so that any authenticated exec sessions will be shown what the device hostname is and the line the session is established on. In order to configure this type of banner youâ€™ll need to know what Banner Tokens are. Banner tokens are basically a variable you can set in a banner that calls particular information from the device and dispatches it into the banner. The banner tokens that will be used in this objective are $(hostname) and $(line) which display the hostname and line number.
To configure the exec banner as required by objective 3, use the following text Session established to $(hostname) on line $(line)
Like the previous Login banner youâ€™ve configured you execute the same command in global configuration mode but rather executing banner login ^ youâ€™ll execute banner exec ^ as shown below.
After the exec banner is configured, verify your configuration by terminating your exec session and reestablishing an exec session to the device as shown below.
Objective 3. 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. As shown below is an example MOTD banner configuration and verification.
To verify the MOTD banner configuration, exit and reestablish an exec session to the device as shown below.