238# Set the number of character types a password must contain to 4, and set the minimum number ofcharacters for each type to one character.[Sysname] password-control composition type-number 4 type-length 1# Set the minimum length of user passwords to 15 characters.[Sysname] password-control length 15# Add a local user account for device management, including a username of test, a password of12345zxcvb!@#$%ZXCVB, a user role of network-admin, and a service type of Terminal.[Sysname] local-user test class manage[Sysname-luser-manage-test] password simple 12345zxcvb!@#$%ZXCVB[Sysname-luser-manage-test] authorization-attribute user-role network-admin[Sysname-luser-manage-test] service-type terminal[Sysname-luser-manage-test] quit# Enable FIPS mode, and choose the manual reboot method to enter FIPS mode.[Sysname] fips mode enableCreate a new start-up configuration file named fips-startup.cfg used for FIPS mode. Aftersetting the login username and password for FIPS mode, the device will be rebootedautomatically. Are you sure? [Y/N]:n# Save the current configuration to the root directory of the storage medium, and specify it as the startupconfiguration file.[Sysname] saveThe current configuration will be written to the device. Are you sure? [Y/N]:yPlease input the file name(*.cfg)[flash:/startup.cfg](To leave the existing filename unchanged, press the enter key):flash:/startup.cfg exists, overwrite? [Y/N]:yValidating file. Please wait...Saved the current configuration to mainboard device successfully.[Sysname] quit# Delete the startup configuration file in binary format. delete flash:/startup.mdbDelete flash:/startup.mdb?[Y/N]:yDeleting file flash:/startup.mdb...Done.# Reboot the device. rebootVerifying the configurationAfter the device reboots, enter the username test and the password 12345zxcvb!@#$%ZXCVB. Thesystem prompts you to configure a new password. After you configure the new password, the deviceenters FIPS mode. The new password must be different from the previous password. It must include at least15 characters, and contain uppercase and lowercase letters, digits, and special characters. For moreinformation about the requirements for the password, see the system output.Press ENTER to get started.login: testPassword:First login or password reset. For security reason, you need to change your password. Please enter your password.old password:new password: