InformationSets the message-of-the-day (MOTD) banner for first access to the Command Line Interface (CLI).
Configuring banner is an additional security safeguard to protect the device. In fact, banners are deterrent controls meant to discourage attackers by letting them know that their access is illegitimate and the possible consequences of going further.
SolutionRun the following command to set the MOTD banner where <line_of_message> is a line of the banner text.
HOSTNAME(CONFIG)#BANNER MOTD <line_of_message>
Repeat the command for each line if the banner text has several lines.