API Guide
Usage
Information
The dir command requires at least one parameter. Use the dir config command to display
configuration files.
Example
OS10# dir
  config           Folder containing configuration files
  coredump         Folder containing coredump files
  home             Folder containing files in user's home directory
  image            Folder containing image files
  severity-profile Folder containing severity profiles
  supportbundle    Folder containing support bundle files
Example (config)
OS10# dir config
Directory contents for folder: config
Date (modified)        Size (bytes)  Name
---------------------  ------------  -----------
2017-04-26T15:23:46Z   26704         startup.xml
OS10# dir severity-profile
Date (modified)       Size (bytes)  Name
--------------------- ------------  -------------
2019-03-27T15:24:06Z  46741         default.xml
2019-04-01T11:22:33Z  456           mySevProf.xml
Supported
Releases
10.2.0E or later
discard
Discards changes made to the candidate configuration file.
Syntax
discard
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# discard
Supported
Releases
10.2.0E or later
do
Executes most commands from all CONFIGURATION modes without returning to EXEC mode.
Syntax
do command
Parameters command — Enter an EXEC-level command.
Default Not configured
Command Mode INTERFACE
Usage
Information
None
Example
OS10(config)# interface ethernet 1/1/7
OS10(conf-if-eth1/1/7)# no shutdown
CLI Basics 73










