99
display nandflash page-data
Use
display nandflash page-data
to display the data on the specified physical page in the NAND Flash
memory.
Syntax
display nandflash page-data
page-value
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
page-value
: Specifies the serial number of a physical page.
|
: 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.
Usage guidelines
This command is always used in combination with the
display nandflash file-location
command to verify
the correctness of the data in the NAND Flash memory.
Examples
# Display the content of the file
test.cfg
that is saved in the NAND Flash memory.
<Sysname> display nandflash file-location test.cfg
Logical Chunk Physical Page
---------------------------
chunk(0) 31009
chunk(1) 31007
chunk(2) 31008
filename: test.cfg
<Sysname> display nandflash page-data 31007
0000: 0D 0A 23 0D 0A 20 76 65 72 73 69 6F 6E 20 35 2E ..#.. version 5.
0010: 32 30 2C 20 52 65 6C 65 61 73 65 20 31 38 30 38 20, Release 1808
0020: 50 31 32 0D 0A 23 0D 0A 20 73 79 73 6E 61 6D 65 P12..#.. sysname
0030: 20 48 33 43 0D 0A 23 0D 0A 20 69 72 66 20 6D 61 H3C..#.. irf ma
...
execute
Use
execute
to execute a batch file.
Syntax
execute
filename