1-6Parametersusernameformat: Specifies the input format of the username and password.with-hyphen: Uses hyphened MAC addresses as usernames and passwords, for example,00-05-e0-1c-02-e3.without-hyphen: Uses MAC addresses without hyphens as usernames and passwords, for example,0005e01c02e3.lowercase: Uses lowercase MAC addresses as usernames and passwords.uppercase: Uses uppercase MAC addresses as usernames and passwords.fixedpassword password: Specifies the password for MAC address authentication as the specifiedfixed password instead of user MAC addresses. password is a string of 1 to 63 characters.DescriptionUse the mac-authentication authmode usernameasmacaddress command to set the usernametype for MAC address authentication to MAC address and specify the username format.Use the undo mac-authentication authmode command to restore the default user name mode.By default, the user name and password in MAC address mode are used for MAC addressauthentication.Examples# Use the user name in MAC address mode for MAC address authentication, requiring hyphenedlowercase MAC addresses as the usernames and passwords. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] mac-authentication authmode usernameasmacaddress usernameformat with-hyphenlowercasemac-authentication authmode usernamefixedSyntaxmac-authentication authmode usernamefixedundo mac-authentication authmodeViewSystem viewParametersNoneDescriptionUse the mac-authentication authmode usernamefixed command to set the user name in fixed modefor MAC address authentication.Use the undo mac-authentication authmode command to restore the default user name mode forMAC address authentication.By default, the MAC address mode is used.