1.12 Login Banner

Information

Setting a banner to be displayed during the login process notifies users that unauthorized use is prohibited, and that access to and use of the system may be monitored and logged.

Login Banner serves as a compliance measure with legal requirements, alerting users about usage terms or unauthorized access penalties

Solution

To configure Message of the Day (Pre-Login) Banner -

switch(config)# banner motd <delimiter>
switch(config)# <Banner Text> <delimiter>

To configure Post-Login Banner -

switch(config)# banner exec <delimiter>
switch(config)# <Banner Text> <delimiter>

Sample Configuration of pre-login banner (motd) -

switch(config)# banner motd ^
Enter a new banner. Terminate the banner with the delimiter you have chosen.
switch(config-banner-motd)# This system is for authorized use only. Unauthorized or improper
switch(config-banner-motd)# use of this system may result in civil or criminal penalties. By
switch(config-banner-motd)# continuing to use this system you acknowledge your consent to
switch(config-banner-motd)# these conditions of use.
switch(config-banner-motd)# ^

Sample Configuration of post-login banner -

switch(config)# banner exec ^
switch(config-banner-exec)# This banner is displayed after login
switch(config-banner-exec)# ^

Impact:

Login banner enhances security awareness, reinforces accountability, and ensures clarity in user interactions with the network device.

See Also

https://workbench.cisecurity.org/benchmarks/24202