How to disable the ZTP process on CE series switches

4

After an unconfigured device is powered on, the device repeatedly performs the ZTP process. You can press CTRL+C to stop the ZTP process after logging in on the device through the console port. From V100R006C00 and later versions, you can run the set ztp disable command to disable the ZTP process. In this way, the device will not run the ZTP process upon the next startup.
<HUAWEI> set ztp disable

Other related questions:
Disable the ZTP process
After an unconfigured switch is powered on, it repeatedly executes the ZTP process. You can log in to the switch through the console port and press CTRL+C to abort the ZTP process. In V100R006C00 and later versions, you can run the set ztp disable command in the user view to disable the ZTP process so that a switch does not execute the ZTP process after being powered on. set ztp disable

How to disable password expiration on CE series switches
On CE series switches, run the local-user user-name password expire days command in the AAA view to set the password expiration time. Run the undo local-user user-name password expire command to restore the default password expiration time. By default, user passwords never expire. If the value of days is 0, the user password never expires.

How to disable the initial password change prompt on a CE series switch
By default, the security policy function is enabled for local accounts on CE series switches to ensure security. Therefore, you will be asked to change the password at the first login.

If the initial password change prompt function is enabled for the next login on a switch, you will be also asked to change the password after the next login.

To disable a switch from asking you to change the initial password, run the following commands:
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] undo local-user policy security-enhance  //Disable the security policy function for local accounts.                            
[*HUAWEI-aaa] undo local-user policy password change   //If the initial password change prompt function is enabled for the next login, disable it.     
[*HUAWEI-aaa] commit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top