Information
Sets the LOGIN banner for access to the Command Line Interface (CLI)
Rationale:
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.
Solution
Run the following command to set the LOGIN banner where <line_of_message> is a line of the banner text.
HOSTNAME(CONFIG)#BANNER LOGIN <line_of_message>
Repeat the command for each line if the banner text has several lines.