Command Manual – 802.1x - MAC AuthenticationH3C S7500E Series Ethernet SwitchesChapter 3 MAC Authentication ConfigurationCommands3-6Examples# Set the server timeout timer to 150 seconds. systme-view[Sysname] mac-authentication timer server-timeout 1503.1.5 mac-authentication user-name-formatSyntaxmac-authentication user-name-format { fixed [ account name ] [ password { cipher| simple } password ] | mac-address [ with-hyphen | without-hyphen ] }undo mac-authentication user-name-formatViewSystem viewParametersfixed: Uses the MAC authentication username type of fixed username.account name: Specifies the fixed username. The name argument is acase-insensitive string of 1 to 55 characters and defaults to mac.password { cipher | simple } password: Specifies the password for the fixed username.Using the cipher keyword displays the password in cipher text. Using the simplekeyword displays the password in plain text. In the former case, the password can beeither a string of 1 to 63 characters in plain text or a string of 24 or 88 characters incipher text. In the latter case, the password must be a string of 1 to 63 characters inplain text.mac-address: Adopts the user’s source MAC address as the username, which iscase-insensitive.with-hyphen: Indicates that the MAC address must include “-“, like xx-xx-xx-xx-xx-xx.The letters in the address must be in lower case.without-hyphen: Indicates that the MAC address must not include “-“, likexxxxxxxxxxxx. The letters in the address must be in lower case.DescriptionUse the mac-authentication user-name-format command to configure the usernameand password for MAC authentication.Use the undo mac-authentication user-name-format command to restore thedefault.By default, a user’s source MAC address is used as the username and password, andthe MAC address does not contain hyphen “-“.