Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
1-2
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
banner motd
banner motd
To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco
Nexus 5000 Series switch, use the banner motd command. To revert to the default, use the no form of
this command.
banner motd delimiter message delimiter
no banner motd
Syntax Description
Command Default “Nexus 5000 Switch” is the default MOTD string.
Command Modes Interface configuration mode
Command History
Usage Guidelines To create a multiple-line MOTD banner, press Enter before typing the delimiting character to start a new
line. You can enter up to 40 lines of text.
Examples This example shows how to configure a single-line MOTD banner:
switch(config)# banner motd #Unauthorized access to this device is prohibited!#
This example shows how to configure a multiple-line MOTD banner:
switch(config)# banner motd #Welcome Authorized Users
> Unauthorized access prohibited!#
This example shows how to revert to the default MOTD banner:
switch(config)# no banner motd
Related Commands
delimiter The delimiter character indicates the start and end of the message and is not
a character that you use in the message. Do not use " or % as a delimiting
character. White space characters will not work.
message Message text. The text is alphanumeric, case sensitive, and can contain
special characters. It cannot contain the delimiter character you have chosen.
The text has a maximum length of 80 characters and a maximum of 40 lines.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show banner motd Displays the MOTD banner.