Lists flash and USB directory information.
Exec mode
The following example lists flash directory information.
device# dir
config-file :
-rw-r--r-- 790 2021-04-22 05:50:40 comm9.conf
-rw-r--r-- 1047 2021-04-17 09:03:27 temp.conf
-rw-r--r-- 117 2021-04-12 05:54:09 temp2.conf
-rw-r--r-- 73 2021-04-13 06:14:34 temp3.conf
-rw-r--r-- 48 2021-04-13 06:18:08 temp4.conf
-rw-r--r-- 1047 2021-04-17 10:16:18 temp_1618654577.conf
-rw-r--r-- 1047 2021-04-19 11:47:49 temp_1618832866.conf
pcap-file :
-rw-r--r-- 0 2021-06-01 08:03:44 README.md
tech-support :
firmware :
ms_images :
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-pdb-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-pipeline-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-sp-intf-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-sp-nhop-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-sp-sfcs-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-sp-target-proxy-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 agent-svcplane-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 chassis-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 ifmgr-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 lacp-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 lldp-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-cdb
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-cli
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-msgbus
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-psdb
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-sdb
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-security
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmt-snmp-agent
drwxr-xr-x 4096 2021-06-01 10:06:53 mgmtsvc-apigw
drwxr-xr-x 4096 2021-06-01 10:06:53 onboard-pcap-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 pktmgr-ms
drwxr-xr-x 4096 2021-06-01 10:06:53 stratum-bf-angel-eyes
drwxr-xr-x 4096 2021-06-01 10:06:53 stratum-bf-tofino-model
chassis-ms :
ifmgr-ms :
lacp-ms :
lldp-ms :
mgmt-cli :
mgmtsvc-apigw :
mgmt-snmp-agent :
coredumps :
-rw------- 273702912 2021-05-28 10:08:07 core.npbcli.PID_13825.SIG_6.16 22196487
USB:
-rw-r--r-- 734 2021-05-11 04:49:58 test
-rw-r--r-- 734 2021-05-06 18:33:36 test1
-rw-r--r-- 734 2021-05-14 04:04:07 test123
-rw-r--r-- 734 2021-05-06 18:24:01 testfile
# dir usb://
USB:
-rw-r--r-- 734 2021-05-11 04:49:58 test
-rw-r--r-- 734 2021-05-06 18:33:36 test1
-rw-r--r-- 734 2021-05-14 04:04:07 test123
-rw-r--r-- 734 2021-05-06 18:24:01 testfile
The following examples show error messages.
USB not enabled:
# dir usb:// Error USB not enabled
Invalid file path:
# dir usb://test ----------------^ %Error: Unexpected token 'usb://test'.