R2511-HP MSR Router Series Fundamentals Command Reference(V5)

135
display nandflash badblock-location
Use display nandflash badblock-location to display the number and location of bad blocks in the NAND
Flash memory.
Syntax
display nandflash badblock-location [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: 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
The following matrix shows the display nandflash badblock-location command and router compatibility:
Hardware Command com
p
atible
MSR900 No.
MSR93X Yes.
MSR20-1X No.
MSR20 No.
MSR30 Yes only on MSR30-10, MSR30-11E, and MSR30-11F.
MSR50 No.
MSR1000 Yes.
Examples
# Display the number and location of bad blocks in the NAND Flash memory.
<Sysname> display nandflash badblock-location
No Physical block
------------------------------
badblock(0) 1234
badblock(1) 1235
badblock(2) 1236
3200 block(s) total, 3 block(s) bad.