banner login

Configures the login banner message for displaying before the authentication prompt.

Syntax

banner login STRING
no banner login

Parameters

login STRING
Specifies the login message string. Valid range is 1-1024.

Modes

Config mode

Examples

The following example configures the banner login message.

device(config)# banner login “This is sample login message” 

device# show running-config banner 
banner login "This is sample login message"