R2511-HP MSR Router Series Fundamentals Command Reference(V5)

93
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display system version information.
<Sysname> display version
header
Use header to create a banner.
Use undo header to clear a banner.
Syntax
header { incoming | legal | login | motd | shell } text
undo header { incoming | legal | login |
motd | shell }
Views
System view
Default command level
2: System level
Parameters
incoming: Configures the banner displayed before a Modem dial-in user accesses user view.
legal: Configures the banner displayed before a user inputs the username and password to access the
CLI.
login: Configures the banner displayed before password or scheme authentication is performed for a
login user.
motd: Configures the greeting banner displayed before the legal banner appears.
shell: Configures the banner displayed before a non-Modem dial-in user accesses user view.
text: Banner message, which can be input in two formats. For more information, see Fundamentals
Configuration Guide.
Usage guidelines
Banners are greeting or alert messages that the system displays during the login process of a user.
Examples
# Configure banners.
<Sysname> system-view