C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Terminal Services Commands on Cisco IOS XR Software
banner login
SMR-676
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
banner login
To create a customized banner that is displayed before the username and password login prompts, use
the
banner login
command in global configuration mode. To disable the login banner, use
no
form of
this command.
banner
login
delimiter
message
delimiter
no
banner
login
Syntax Description
Defaults
No login banner is displayed.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Follow the
banner login
command with one or more blank spaces and the delimiting character (c). Then
enter one or more lines of text, terminating the message with the second occurrence of the delimiting
character (c).
When a user connects to the router, the message-of-the-day (MOTD) banner (if configured) appears first,
followed by the login banner and prompts. After the user successfully logs in to the router, the EXEC
banner or incoming banner is displayed, depending on the type of connection. For a reverse Telnet login,
the incoming banner is displayed. For all other connections, the router displays the EXEC banner.
To customize the banner, use tokens in the form $(
token
) in the message text. Tokens display current
configuration variables, such as the router hostname and IP address.
Tokens are described in
.
delimiter
Delimiting character is “c”.
message
Message text. You can include tokens in the form $(
token
) in the
message text. Tokens are replaced with the corresponding
configuration variable. Tokens are described in
.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Table 83
banner login Tokens
Token
Information Displayed in the Banner
$(hostname)
Displays the hostname for the router.
$(domain)
Displays the domain name for the router.
$(line)
Displays the vty or tty (asynchronous) line number.