3com 5500-ei pwr Reference Guide

Page of 1314
 
1-6 
mac-authentication authmode usernameasmacaddress 
Syntax 
mac-authentication authmode usernameasmacaddress [ usernameformat { with-hyphen | 
without-hyphen } ]  { lowercase | uppercase } | fixedpassword password 
undo mac-authentication authmode usernameasmacaddress [ usernameformat  | 
fixedpassword 
View 
System view 
Parameters 
usernameformat: 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 specified 
fixed password instead of user MAC addresses. password is a string of 1 to 63 characters. 
Description 
Use the mac-authentication authmode usernameasmacaddress command to set the username 
type 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 address 
authentication. 
Examples 
# Use the user name in MAC address mode for MAC address authentication, requiring hyphened 
lowercase MAC addresses as the usernames and passwords. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] mac-authentication authmode usernameasmacaddress usernameformat with-hyphen 
lowercase 
mac-authentication authmode usernamefixed 
Syntax 
mac-authentication authmode usernamefixed 
undo mac-authentication authmode