Use the list command to list the files on a file system, with an option to indicate the list order based on the date, name, or size of the files. The show command displays the contents of a specified file or multiple files. The version command displays the version of an SR OS .tim image file.
The following shows an example of the command syntax.
[/file "cf3:\"]
A:admin@node-2# list
Volume in drive cf3 on slot A is .
Volume in drive cf3 on slot A is formatted as FAT32
Directory of cf3:\
09/01/2020 11:27p <DIR> .ssh/
01/01/1980 12:00a 170 NVRAM.DAT
01/01/1980 12:00a 679 bof.cfg
09/01/2020 11:27p 319 nvsys.info
09/01/2020 11:27p 1 restcntr.txt
09/02/2020 04:32p <DIR> tstdir/
4 File(s) 1169 bytes.
2 Dir(s) 0 bytes free.
[/file "cf3:\"]
A:admin@node-2# list size
Volume in drive cf3 on slot A is .
Volume in drive cf3 on slot A is formatted as FAT32
Directory of cf3:\
09/01/2020 11:27p <DIR> .ssh/
09/02/2020 04:32p <DIR> tstdir/
09/01/2020 11:27p 1 restcntr.txt
01/01/1980 12:00a 170 NVRAM.DAT
09/01/2020 11:27p 319 nvsys.info
01/01/1980 12:00a 679 bof.cfg
4 File(s) 1169 bytes.
2 Dir(s) 0 bytes free.
[/file "cf3:\"]
A:admin@node-2# show md-config.cfg
File: md-config.cfg
-------------------------------------------------------------------------------
configure {
card 1 {
mda 1 {
}
}
log {
filter 1001 {
entry 10 {
description "Collect only events of major severity or higher"
action forward
match {
severity {
gte major
}
}
}
}
log-id 99 {
description "Default System Log"
source {
main true
Press Q to quit, Enter to print next line or any other key to print next page.