Command Manual (For Soliton) – MAC Address Authentication
H3C S3100 Series Ethernet Switches
Chapter 1 MAC Address Authentication
Configuration Commands
1-6
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mac-authentication interface Ethernet 1/0/1
1.1.4 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 i
s 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.