XG2000 series User's Guide
110/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.6.7 dir/ls
Function
Lists the files in the volatile memory of the device.
Prompt
xg#
Command syntax
dir
ls
Command type
Operation management commands
Output form
xg# dir
Update-time File-size File-name
- 2007/01/22 19:23:03 913
system_info_20070122
- 2007/01/22 19:22:41 2,604 start_conf_20070122
- 2007/01/22 19:22:19
2,655 run_conf_20070122
unused: 14,639,104 bytes
z Update-time
Displays the file update time.
z File-size
Displays the file size (byte).
z File-name
Displays the file name.
z unused
Displays the size of free memory.
Example
Copy running-config, startup-config and the system information to files in volatile memory, then list the files in volatile memory.
xg# show running-config > run_conf_20070122
xg# show startup-config > start_conf_20070122
xg# show system information > system_info_20070122
xg# ls
Update-time File-size File-name
- 2007/01/22 19:23:03 913 system_info_20070122
- 2007/01/22 19:22:41
2,604 start_conf_20070122
- 2007/01/22 19:22:19 2,655 run_conf_20070122
unused: 14,639,104 bytes