R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

86
# On the HSR6602 router, remove file tt.cfg from the current directory on the active MPU.
<Sysname> delete tt.cfg
Delete cfa0:/tt.cfg? [Y/N]:y
%Delete file cfa0:/tt.cfg...Done.
# On the 6604/6608/6616 router, remove file tt.cfg from the CF card root directory on the active MPU.
<Sysname> delete tt.cfg
Delete cfa0:/tt.cfg? [Y/N]:y
%Delete file cfa0:/tt.cfg...Done.
# On the 6604/6608/6616 router, remove file tt.cfg from the CF card root directory of the standby MPU
(in slot 1):
Method 1
<Sysname> delete slot1#cfa0:/tt.cfg
Delete slot1#cfa0:/hmr.cfg?[Y/N]:y
%Delete file slot1#cfa0:/tt.cfg...Done.
Method 2
<Sysname> cd slot1#cfa0:/
<Sysname> delete tt.cfg
Delete slot1#cfa0:/tt.cfg?[Y/N]:y
%Delete file slot1#cfa0:/tt.cfg...Done.
dir
Use dir to display files or folders.
Syntax
dir [ /all ] [ file-url | /all-filesystems ]
Views
User view
Default command level
3: Manage level
Parameters
/all: Displays all files and folders in the current directory, including hidden files, hidden folders, files
moved from the current directory to the recycle bin. Files in the recycle bin are enclosed in square
brackets [ ].
file-url: Displays the specified file. Asterisks (*) are acceptable as wildcards. For example, to display files
with the .txt extension in the current directory, enter dir *.txt.
/all-filesystems: Displays files and folders in the root directories of all storage media on the device.
Usage guidelines
If no parameter is specified, the command displays all visible files and folders in the current directory.
Examples
# On the 6602 router, display information about all files and folders in the current directory.