Bootrom Monitor Mode Commands
3-38 Software Configuration
df
This command shows free disk space. Sample output is shown as follows:
XSR-3150:df
Free space on flash: is 3383296 bytes (0x33a000).
del
This command removes a file from flash: or cflash: memory.
dir
This command lists the contents of the current directory in long format. The command displays
the following sample output:
XSR-3150: dir
Listing Directory flash::
-rwxrwxrwx 1 0 0 4678118 May 5 23:06 xsr3000.fls
-rwxrwxrwx 1 0 0 2228 May 29 09:57 persistent-data
-rwxrwxrwx 1 0 0 1153 May 29 09:51 startup-config
-rwxrwxrwx 1 0 0 0 May 29 09:51 private-config
2895872(0x2c3000) bytes free on flash:
ds
This command sets the system date with the syntax yyyy mm dd w (1=Sunday). For example:
XSR-3020: ds 2003 6 1 3
dt
This command sets the system time using the syntax hh mm ss. E.g.:
XSR-3150: ds 11 59 59
ff
This command formats the Flash file system. We recommend that you first save any .dat,
.cert, .cfg, and your startup-config files to cflash: or a PC since any files in flash: will be
deleted. You are prompted to enter data by the following script:
XSR-3150: ff
You will lose all files in the “flash:” file system.
Are you sure you want to format the “flash:” file system? (y/n) y
Unlocking flash file sectors
Initializing DOS file system.
Formatting flashrom file system
...................................................... Done.