This article explains how to configure LOGIN and MOTD Banner in OS10 switches.
MOTD Banner (Message of the day Banner) - MOTD banner that displayed after the user logs in
MOTD Banner Example:
OS10 login: admin
Password:
######SAMPLE MOTD BANNER######
* Delimiter = A single character or ^C to specify the start and end of the text banner. The delimiter will not be shown in MOTD or Banner when logging in to the switch. For example a, 1, &, $, %, so on. Some special characters may not work; for example, and " will not be accepted as delimiter in Firmware in 10.5.1.0.
Login Banner
Switch Commands |
Description |
Console# configure |
To enter switch configuration mode |
Console(Config)# banner login |
Configures a login banner |
Console(Config)# no banner login |
To delete a login banner and reset it to the Dell EMC default banner, |
Console(Config)# banner login disable |
To disable banner display before login |
MOTD Banner
Switch Commands |
Description |
Console# configure |
To enter switch configuration mode |
Console(Config)# banner motd |
Configures a motd banner |
Console(Config)# no banner motd |
To delete a motd banner and reset it to the Dell EMC default banner, |
Console(Config)# banner motd disable |
To disable banner display after login |
The Below commands were tested in 10.5.1.0.
In this sample configuration we are using % as the delimiter. You can use any single character or ^C as delimiter.
LOGIN BANNER
OS10# configure terminal
OS10(config)# banner login %
Enter TEXT message. End with the character '%'.
######SAMPLE LOGIN BANNER Line 1######
######SAMPLE LOGIN BANNER Line 2######
%
OS10(config)#
MOTD BANNER
OS10# configure terminal
OS10(config)# banner motd %
Enter TEXT message. End with the character '%'.
######SAMPLE MOTD BANNER Line 1######
######SAMPLE MOTD BANNER Line 2######
%
OS10(config)#
Verify
OS10# show running-configuration
! Version 10.5.1.0
!
banner motd ^C
######SAMPLE MOTD BANNER Line 1######
######SAMPLE MOTD BANNER Line 2######
^C
banner login ^C
######SAMPLE LOGIN BANNER Line 1######
######SAMPLE LOGIN BANNER Line 2######
^C
######SAMPLE LOGIN BANNER Line 1######
######SAMPLE LOGIN BANNER Line 2######
OS10 login: XXXXXXX
Password:
######SAMPLE MOTD BANNER Line 1######
######SAMPLE MOTD BANNER Line 2######
* Delimiter = A single character or ^C to specify the start and end of the text banner. The delimiter will not be shown in MOTD or Banner when logging in to the switch. For example a, 1, &, $, %, so on. Some special characters may not work; for example, and " will not be accepted as delimiter in Firmware in 10.5.1.0.