232
•
If the specified directory is not accessible or is
NULL
, the system cannot save core files or the
diagnostic information collected by using the
display diagnostic-information
command.
Examples
# Specify the directory for saving core files as
flash:
.
<Sysname> exception filepath flash:
Related commands
display exception filepath
process core
header
Use
header
to create a banner.
Use
undo header
to clear a banner.
Syntax
header
{
legal
|
login
|
motd
|
shell
}
text
undo header
{
legal
|
login
|
motd
|
shell
}
Default
The default settings depend on the device model.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
legal
: Configures the banner to be displayed before a user inputs the username and password to
access the CLI.
login
: Configures the banner displayed to be before password or scheme authentication is
performed for a login user.
motd
: Configures the greeting banner to be displayed before the legal banner appears. Support for
the keyword depends on the device model.
shell
: Configures the banner to be displayed before a non-modem dial-in user accesses user view.
text
: Specifies the banner message. You can enter the message on the same line as the keywords or
on different lines. For more information, see
Fundamentals Configuration Guide
.
Examples
# Create the legal banner, login banner, MOTD banner, and shell banner.
<Sysname> system-view
[Sysname] header legal
Please input banner content, and quit with the character '%'.
Welcome to legal (header legal)%
[Sysname] header login
Please input banner content, and quit with the character '%'.
Welcome to login(header login)%
[Sysname] header motd