--- title: "configuration" slug: "cli-as-configuration" tags: ["Assurance Sensor CLI"] updated: 2025-07-01T10:49:31Z published: 2025-09-04T19:23:07Z canonical: "docs.crossworkassurance.cisco.com/cli-as-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # configuration ## configuration cancel configuration cancel - Revert the rollback or factory default request **Description:** The configuration cancel command allows you to cancel the latest request to roll back or to reset the current configuration to factory defaults. **Syntax:** ``` configuration cancel ``` ## configuration changes configuration changes - Display amount of configuration changes **Description:** The configuration changes command allows you to see the number of configuration changes that took place since the system is up. **Syntax:** ``` configuration changes ``` ## configuration export configuration export - Export unit configuration **Description:** The configuration command allows you to export the existing unit configuration to a file. This command also allows exporting from the screen. Typing "configuration export" without any parameters will dump the configuration file to the stdout. **Syntax:** ``` configuration {export} [{ ftp | ftps | scp | sftp | tftp }://[:@]] ``` **Examples:** configuration export ftp://username:password@mypc.com/newconfig.cfg configuration export ftps://username:password@mypc.com:990/newconfig.cfg configuration export sftp://username:password@mypc.com:22/newconfig.cfg configuration export scp://username:password@mypc.com:22/newconfig.cfg **Parameters:** | Parameter | Description | | --- | --- | | | | | | | **Note:** This command does not support passwords that include the “@” character. ## configuration generate-script configuration generate-script - Generate unit configuration in CLI format. **Description:** The configuration command allows you to export the existing unit configuration in a CLI-importable format either on screen or to an external server. **Syntax:** ``` configuration generate-script {module } {export-to-server [{ ftp | ftps | http | https | sftp | tftp } ://[:@]]} = [,]+ ``` **Parameters:** | Parameter | Description | | --- | --- | | cli-cmd-name | A CLI command whose configuration should be generated. It is possible to specify many commands. Alternatively, if no command is specified, all configuration will be generated. | | | | | | | **Examples:** configuration generate-script module port,interface,soam export-to-server tftp://192.168.1.240/soam_config.txt **Note:** This command does not support passwords that include the “@” character. ## configuration import configuration import - Import system configuration **Description:** The configuration import command allows to import a configuration file that was previously exported from the same type of unit. **Syntax:** ``` configuration import {http | tftp | ftp | sftp}://[:@] ``` **Examples:** configuration import http://mypc.com/newconfig.cfg configuration import ftp://username:password@mypc.com/newconfig.cfg **Parameters:** | Parameter | Description | | --- | --- | | | | | | | ## configuration reset configuration reset - Reset configuration to factory defaults **Description:** The configuration reset command allows you to reset your current configuration to the factory default settings. **Syntax:** ``` configuration reset [ force ] ``` **Parameters:** | Parameter | Description | | --- | --- | | Force | Used to prevent confirmation prompts | ## configuration rollback configuration rollback- Reset Configuration to previous state **Description:** The configuration rollback command allows you to reset your current configuration to the same state as the last time it was booted. **Syntax:** ``` configuration reset [ force ] ``` **Parameters:** | Parameter | Description | | --- | --- | | Force | Used to prevent confirmation prompts | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)