base command | save

Saves the base command output to a text file.

Syntax

base command | save FILENAME

Parameters

base command
Specifies the base command for filtering the output.
exclude FILENAME
Specifies the file name for writing the output of the base command. File format is flash://cli/<name>.

Modes

Filter mode

Usage Guidelines

The "|" symbol in this command does not act as a separator, but instead provides access to the filter command.

Examples

The following example writes the base command output to the specified file.

device# show running-config | save flash://cli/file2