Specifications
Managing Configuration and Image Files dir
2-68 Startup and General Configuration
Managing Configuration and Image Files
MatrixSeriesdevicesprovideasingleconfigurationinterfacewhichallowsyoutoperformboth
switchandrouterconfigurationwiththesamecommandset.TheMatrixSeriesdevicesnow
supportascriptfeaturethatallowsyoutoexecuteapreviouslycreatedscriptfilecontainingCLI
commands,andatthetimeofexecution,
enteroptionalargumentsthatmodifytheactionsofthe
commands.ThisfeatureisintendedtosimplifytheconfigurationofportsandVLANs,bycreating
scriptfilescontaininggroupsofcommandsthatyouwanttorunonthesameport‐stringorVLAN
id.Atthetimeofexecution,youpass
intheport‐string,VLANid,andanyotherrequired
argumentsthatyouwantthecommandstooperateon.Refertothescriptcommand,“script”on
page 2‐76.
Thefollowingsectiondescribesthecommandsetformanagingbothswitchandrouter
configuration.
Fordetailsonperformingabasicroutingconfiguration
(whileoperatinginroutermode),referto
“PerformingaBasicRouterConfiguration”onpage 16‐11.
Fordetailsondownloadinganewfirmwareimage,referto“DownloadingaNewFirmware
Image”onpage 2‐60.
Fordetailsonreviewingandselectingthebootfirmwareimage,referto“ReviewingandSelecting
a
BootFirmwareImage”onpage 2‐60.
Purpose
Toview,manage,andexecuteconfigurationandimagefiles.
Commands
dir
Usethiscommandtolistfilesstoredinthefilesystem.
Syntax
dir [filename]
Note: The commands described in this section manage both switch and router configuration
parameters, but must be executed from the switch CLI.
For information about... Refer to page...
dir 2-68
show file 2-70
show config 2-73
configure 2-74
copy 2-74
delete 2-75
script 2-76