Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 3.49 KB

comware_clean_erase_module.rst

File metadata and controls

95 lines (70 loc) · 3.49 KB

comware_clean_erase

Added in version 1.8

Reset system to factory default settings. You willlose connectivity to the switch. This module deletes all configurationfiles (.cfg files) in the root directories of the storage media.It deletes all log files (.log files in the folder /logfile). Clearsall log information (in the log buffer), trap information, and debugginginformation. Restores the parameters for the Boot ROM options to thefactory-default settings. Deletes all files on an installedhot-swappable storage medium, such as a USB disk

parameter required default choices comments
factory_default yes
  • true
  • false
Set to true if all logs and user-created files should be deleted and removed from the system and the device should be set to factory default settings
port no 830 NETCONF port number
hostname yes IP Address or hostname of the Comware 7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# factory default and reboot immediately
- comware_clean_erase: factory_default=true username={{ username }} password={{ password }} hostname={{ inventory_hostname }}