InformationSets the banner message for the access to the privileged EXEC mode
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 EXEC banner where <line_of_message> is a line of the banner text.
HOSTNAME(CONFIG)#BANNER EXEC <line_of_message>
Repeat the command for each line if the banner text has several lines.