CLI: Configuration
Use the configuration command to manipulate the configuration database, ushc as backup, copy, merge, and view system configuration.
Configure the Exinda community
configuration {copy|delete|fetch|jump-start|merge|move|new|revert|rename|switch-to|text|upload|write}
configuration {copy|delete|move}
- copy <source-filename> <destination-filename> - Copies the file from the source-filename to the destination-filename
- delete <filename> - Deletes the filename
- move <source-filename> <destination-filename> - Moves the file from the source-filename to the destination-filename
configuration [text] fetch <url or scp://username:password@hostname/path/filename>
- fetch <url or SCP> - Fetch the file from the specified location
- text fetch <url or SCP>- Fetch the text-based file
configuration upload {active|<filename>} <URL or scp://username:password@hostname/path/filename>
- upload active <url or scp> - Upload the activve configuration file to a remote host
- upload <filename> <url or scp> - Upload a configuration file to a remote host
configuration jump-start
configuration {merge|revert|switch-to}
- merge <filename> - Merges the common settings from a given configuration file into the running configuration
- revert saved - Reverts the running configuration to the last saved configuration
- switch-to <filename> - Loads a configuration file and makes it the active configuration
configuration new <filename> factory {keep-basic | keep-connect}
- factory - Create a new file with only factory defaults
- factory keep-basic - Keep licenses and host keys
- factory keep-connect - Keep configuration necessary for connectivity (interfaces, routes, and ARP)
configuration text generate {active | file <filename>}
configuration write {local|to <filename>}
- write - Saves the running configuration (same as 'write memory')
- write local - Saves the running configuration locally (same as 'write memory local')
- write to <filename> - Saves the running configuration to a new file under a different name
configuration text file <filename> {apply|delete|rename|upload}
- apply {fail-continue} {verbose}
- Executes the commands in the specified file; shows only error output and stops on first error
- fail-continue - Continues execution even if one command fails
- verbose - Displays all the commands being executed and their output, instead of just those that have errors
- delete - Deletes the specified file
- rename <filename> - Changes the name of the specified file
- upload <upload-url> - Uploads the file to a remote host
Viewing configuration file details
show configuration {files|full|running|text}
show configuration {files|full|running}
- configuration - Shows the contents of the currently active configuration file
- configuration files <filename> - Shows the contents of the named file
- configuration running [full] - Shows the contents of the currently running configuration file
- full - Does not exclude commands that set default values
show configuration [text] files
- files - Shows the list of available configuration files
- text files - Shows the list of available text-based configuration files