289
exception filepath
Use exception filepath to specify the directory for saving core files.
Use undo exception filepath to remove the specified directory.
Syntax
exception filepath directory
undo exception filepath directory
Default
The directory for saving core files is flash:.
Views
User view
Predefined user roles
network-admin
Parameters
directory: Specifies the directory for saving core files.
Usage guidelines
The specified directory must be the root directory of a file system on the master.
You can use the command to change the directory if there are different types of storage media on the
device.
The system saves core files to the core directory in the specified directory. If the core directory does
not exist in the specified directory, the system creates the core directory before saving core files.
If no directory is specified or the specified directory is not accessible, the system cannot save core
files.
Examples
# Specify the directory for saving core files as flash:/.
<Sysname> exception filepath flash:/
Related commands
display exception filepath
process core
monitor kernel deadloop action
Use monitor kernel deadloop action to specify the action to be taken in response to a kernel
thread deadloop.
Use undo monitor kernel deadloop action to restore the default.
Syntax
monitor kernel deadloop action { reboot | record-only } [ slot slot-number [ cpu cpu-number ] ]
undo monitor kernel deadloop action [ slot slot-number [ cpu cpu-number ] ]
Default
Kernel thread deadloop protection action is record-only.