115
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 configuration archive information.
<Sysname> display archive configuration
Location: flash:/archive
Filename prefix: my_archive
Archive interval in minutes: 120
Maximum number of archive files: 10
Saved archive files:
No. TimeStamp FileName
1 Jan 05 2012 20:24:54 my_archive_1.cfg
2 Jan 05 2012 20:34:54 my_archive_2.cfg
# 3 Jan 05 2012 20:44:54 my_archive_3.cfg
'#' indicates the most recent archive file.
Next archive file to be saved: my_archive_4.cfg
Table 16
Command output
Field Description
Location
Directory for saving running-configuration archives.
Filename prefix
File name prefix for configuration archives.
Archive interval in minutes
Interval (in minutes) for the system to automatically archive the running
configuration.
If automatic configuration saving is disabled, this field is not available.
TimeStamp
Time when the configuration archive was created.
Filename
Configuration archive file name, with the directory excluded.
display current-configuration
Use
display current-configuration
to display the running configuration.
Syntax
display current-configuration
[ [
configuration
[
configuration
] |
interface
[
interface-type
[
interface-number
] ] |
exclude
modules
] [
by-linenum
] [
|
{
begin
|
exclude
|
include
}
regular-expression
] ]
Views
Any view
Default command level
2: System level