CLI Commands : configuration : configuration text

configuration text
Manage text-based configuration files (lists of CLI commands). These files are stored in /config/text on the appliance. Note that not all configuration is included in the show configuration output, so a text configuration file generated and re-applied later may not fully recreate the same configuration.
Notes:
fetch—Download a text-based configuration file from the specified remote host; see the “Command Arguments Key” on page 95 for the scp URL format and requirements. Options for the fetched file :
filename <filename>—Name the fetched file; if no filename is specified, it is given the same name as it had on the server. All apply options, described below, except discard, are available for fetched and named text files.
apply—If you opt to apply the fetched configuration text file to the running system, you have additional options:
discard—Once the configuration text file is applied, discard it; cannot follow fetch <URL_or_SCP> filename <filename> apply.
fail-continue—If any of the commands in the text file fail, continue applying the rest of the commands.
verbose—Dispaly all commands being executed and their output instead of just those that get errors.
file <filename>—Manage stored text-based configuration files:
apply—Execute the commands in the specified configuration text file. Note that the commands execute as the present user, lack of required privilege could cause some to fail. Note also that the configuration is not reset before executing the commands, so the resulting configuration, overlaid on top of the running configuration, may be more than what is in the configuration text file.
fail-continue—If any of the commands in the text file fail, continue applying the rest of the commands.
verbose—Display all commands being executed and their output instead of just those that get errors.
delete—Delete the specified configuration text file.
rename <filename>—Rename the specified configuration text file.
upload—Upload the specified configuration text file to the specified remote host.
generate—Generate a new configuration text file from this system, based on either:
active running—The current active, running configuration (as in show configuration running).
active saved—The current active saved configuration (as in show configuration)
file—An inactive, saved, configuration file (as in show configuration files).
Once the text file is generated, you have these options:
save—Save the newly generated text file to the specified filename.
upload—Upload the newly generated text file to the specified location.

Report an Error
Media Flow Manager Administrator's Guide and CLI Command Reference
Copyright © Juniper Networks, Inc.