R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
71
Description
Use display default-configuration to display the factory defaults of the device. The command displays all
commands to be executed when the device boots with the factory defaults.
Related commands: display current-configuration and display saved-configuration.
Examples
# Display the factory defaults of the device.
<Sysname> display default-configuration
display saved-configuration
Syntax
display saved-configuration [ by-linenum ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
by-linenum: Identifies each line of displayed information with a line number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
Description
Use display saved-configuration to display the contents of the configuration file saved for the next startup
of the device.
During device management and maintenance, you can use this command to check whether important
configurations are saved to the configuration file to be used at the next startup of the device.
For a device supporting main and backup configuration files, this command displays the main
configuration file to be used at the next system startup.
If the system is not specified with a configuration file to the used at the next startup or the specified
configuration file does not exist, the display saved-configuration command displays the default
configuration file of the device. If the default configuration file does not exist, the system prompts "The
config file does not exist!".
Related commands: save, reset saved-configuration, and display current-configuration.
Examples
# Display the configuration file saved for the next startup of the device.
<Sysname> display saved-configuration
#
version 5.20, Test 5310