Last Updated : Jun 04, 2021 |

Displays either:

  • The files that have been downloaded to the Gateway using the CLI copy commands or the SNMP MIB.

  • The files in the USB mass storage device.

Syntax

dir {module_number | file-system [directory]]}

Parameters

Parameter

Description

Possible Values

Default Value

module_number

Displays downloaded files for the specified module only

file-system

Displays files on the USB mass storage device

usbdevice0

directory

Displays files for the specified directory on the USB mass storage device

User level

read-write

Context

general

Examples

To display a list of downloaded files:
Gxxx-001(super)# dir
M# file              ver num   file type    file location  file description
-- ----              --------  ----------   -------------  ----------------
1  MM712             5         SW RT Image  Nv-Ram         MM712 - image
3  MM711             17        SW RT Image  Nv-Ram         MM711 - image
4  MM722             2         SW RT Image  Nv-Ram         MM722 - image
9  hi.wav            N/A       Annc files   Nv-Ram         Announcement files
9  hi1.wav           N/A       Annc files   Nv-Ram         Announcement files
9  hi2.wav           N/A       Annc files   Nv-Ram         Announcement files
10 startup-config    N/A       Startup Conf Nv-Ram         Startup Config
10 running-config    N/A       Running Conf Ram            Running Config
10 Gxxx-A            24.6.0    SW RT Image  Flash Bank A   Software Image Bank A
10 Gxxx-B            24.8.0    SW Component Flash Bank B   Software Image Bank B
10 ca_bundle         11.04.19  Certificates Nv-Ram         CA Trust-Anchors 
10 Gxxx-Booter       21.12.0   SW BootImage Nv-Ram         Booter Image
10 sniffer           N/A       Other        Ram            Sniffer Capture
10 phone-ScriptA     N/A       Phone Script Nv-Ram         N/A
10 phone-ScriptB     N/A       Phone Script Nv-Ram         46xxupgrade.scr
10 phone-ScriptC     N/A       Phone Script Nv-Ram         N/A
10 phone-ScriptD     N/A       Phone Script Nv-Ram         N/A
10 phone-ImageA      N/A       Phone Image  Ram            N/A
10 phone-ImageB      N/A       Phone Image  Ram            N/A
10 phone-ImageC      N/A       Phone Image  Ram            4601dbte1_82.bin
10 phone-ImageD      N/A       Phone Image  Ram            4602dbte1_82.bin
10 phone-ImageE      N/A       Phone Image  Ram            4602dape1_82.bin
10 phone-ImageF      N/A       Phone Image  Ram            4601dape1_82.bin
10 dhcp-binding      N/A       DHCP Binding Nv-Ram         Ip Address Binding
To display a list of the files in the USB mass storage device:
Gxxx-001(super)# dir usbdevice0 1
  Date                  Type        Size(Bytes)       Filename
  -------               --------     ----------        --------
2006-11-13,14:56:58     <DIR>              1024        IPPHONE
2006-11-13,14:57:22     <DIR>              1024        GWANNC
2006-11-13,14:56:58     <DIR>              1024        MM
2006-11-13,14:56:58     file               3146        startup_config.cfg
2006-11-13,14:57:22     file                718        readme.txt
To display a list of the trust anchor version in use:
G430v3-011(super)# dir
M# file           ver num     file type      file location     file description
-- ---- -------- ---------- ------------- ----------------
…
10 G430-A        41.34.1      SW Component    Flash Bank A     Software Image Bank A
10 G430-B        41.0.50      SW RT Image     Flash Bank B     Software Image Bank B
10 ca_bundle     10.11.18     Certificates   Nv-Ram            CA Trust-Anchors
A disabled trust anchor version is displayed as N/A:
G430v3-011(super)# dir
M# file           ver num     file type      file location     file description
-- ---- -------- ---------- ------------- ----------------
…
10 G430-A        41.34.1      SW Component    Flash Bank A     Software Image Bank A
10 G430-B        41.0.50      SW RT Image     Flash Bank B     Software Image Bank B
10 ca_bundle     N/A          Certificates    Nv-Ram           CA Trust-Anchors