In this article I show you how to configure banner MOTD on Cisco switch.
To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco 2900 Series switch, use the banner motd command.
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#banner motd !
Enter TEXT message. End with the character ‘!’.
UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED.
You must have explicit, authorized permission to access or configure this device. Unauthorized attempts and actions to access or use this system may result in civil and/or criminal penalties. All activities performed on this device are logged and monitored.
The above example shows how to configure a multiple-line MOTD banner.