Usage Guidelines
Usage Scenario
After you telnet a device from an NMS for management, you can run the configuration datasync command to start or end a full configuration data synchronization task.
If the configuration datasync start command is run more than once and the specified result-file result-file remains unchanged, the latest result file replaces the previous one.
Precautions
- The configuration datasync command functions the same as hwCollectTable in HUAWEI-DATASYNC-MIB.
- A maximum of five synchronization tasks can be run at the same time, and a synchronization task is allowed to run for a maximum of 30 minutes. If a task cannot be completed within 30 minutes, it is terminated at the thirtieth minute, the synchronization is considered a failure, and the result file is saved as a .bak file.
- If you do not delete a task after the synchronization completes, the task and its script and result files are deleted in an hour.
Example
# Start full configuration data synchronization.
<HUAWEI> system-view
[HUAWEI] diagnose
[HUAWEI-diagnose] configuration datasync start script-file flash:/col.xml result-file flash:/111.zip
# End full configuration data synchronization.
<HUAWEI> system-view
[HUAWEI] diagnose
[HUAWEI-diagnose] configuration datasync stop script-file flash:/col.xml