Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

How to configure LOGIN and MOTD Banner in Dell EMC Networking OS10 Series Switch

Summary: How to configure LOGIN and MOTD Banner in Dell EMC Networking OS10 series switch

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

This article explains how to configure LOGIN and MOTD Banner in OS10 switches.
 


You can configure a system login and message of the day (MOTD) text banners. The system login banner displays before the user logs in. The MOTD banner displays immediately after a successful login. You can also reset the banner text to the Dell EMC default banner or disable the banner display.

Login Banner - Login banner is displayed before the user log in to the system.

Login Banner Example:

######SAMPLE LOGIN BANNER######
OS10 login: admin

Password


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######

 

SLN322760_en_US__1icon Login banner and MOTD banner allows a maximum 4096 characters. There is no limit on the number of lines.
 
SLN322760_en_US__1icon We can use LOGIN and MOTD banner in same switch.


 

Configuration Syntax

* 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


 

Sample Configuration

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 Output

######SAMPLE LOGIN BANNER Line 1######
######SAMPLE LOGIN BANNER Line 2######
OS10 login: XXXXXXX
Password:
######SAMPLE MOTD BANNER Line 1######
######SAMPLE MOTD BANNER Line 2######



 

Cause

You can configure a system login and message of the day (MOTD) text banners. The system login banner displays before the user logs in. The MOTD banner displays immediately after a successful login. You can also reset the banner text to the Dell EMC default banner or disable the banner display.

Resolution

Configuration Syntax

* 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.

Affected Products

MX Series, PowerSwitch S4048-ON, PowerSwitch S6000 ON, Dell EMC Networking MX5108n, Dell EMC Networking MX7116n, Dell EMC Networking MX9116n, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON , PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S5248F-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9332F-ON, SmartFabric OS10 Software ...
Article Properties
Article Number: 000124456
Article Type: Solution
Last Modified: 11 Oct 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.