AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
195
NXA-ENET24 - Software Management Guide
Flash/File Commands (Cont.)
Command Function
dir
This command
displays a list of
files in flash
memory.
Syntax:
dir [unit:] {{boot-rom: | config: | opcode:} [:filename]}
The type of file or image to display includes:
boot-rom - Boot ROM (or diagnostic) image file.
config - Switch configuration file.
opcode - Run-time operation code image file.
filename - Name of the configuration file or image name.
unit - Stack unit. (Range: 1-8)
Default Setting: None
Command Mode: Privileged Exec
Command Usage: If you enter the command dir without any parameters, the system dis-
plays all files.
A colon (:) is required after the specified unit number.
File information is shown below:
File Name: The name of the file.
File Type: File types: Boot-Rom, Operation Code, and Config file.
Startup: Shows if this file is used when the system is started.
Size: The length of the file in bytes.
Example: The following example shows how to display all file information:
Console#dir 1:
file name file type startup size (byte)
----------------------------------- -------------- ------- ---------
--
Unit1:
DIAG_0.0.0.4.BIX Boot-Rom image Y 169900
LEO_50Y_V0.0.5.1.bix Operation Code Y 1614764
Factory_Default_Config.cfg Config File N 5013
startup Config File Y 3191
-------------------------------------------------------------------------
Total free space: 5242880
Console#
whichboot
This command
displays which
files were booted
when the system
powered up.
Syntax:
whichboot [unit]
unit - Specifies the unit number.
Default Setting: None
Command Mode: Privileged Exec
Example: This example shows the information displayed by the whichboot command. See
the table under the dir command for a description of the file information displayed by this
command.
Console#whichboot
file name file type startup size (byte)
----------------- -------------- ------- -----------
Unit1:
diag_0060 Boot-Rom image Y 111360
run_0200 Operation Code Y 1083008
startup Config File Y 2710
Console#