3com 4500 26-PORT 用户手册
Centralized MAC Address Authentication Configuration Commands
251
Parameter
usernamemacaddress:
Specify the MAC address mode for authentication.
usernamefixed:
Specify the fixed mode for authentication.
Description
Use the
mac-authentication authmode
command to set the MAC address
authentication mode. Use the
undo mac-authentication authmode
command to
remove the configuration.
■
If you set the authentication mode to
usernameasmacaddress
, the MAC
address mode is used for authentication (both the username and password are
the MAC address of the user).
the MAC address of the user).
■
If you set the authentication mode to
usernamefixed
, the fixed mode is used
for authentication (both the username and password are pre-defined).
By default, the MAC address authentication mode is
usernameasmacaddress
.
Example
To set the MAC address authentication mode to usernamefixed, enter the
following:
following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]mac-authentication authmode usernamefixed
mac-authentication
authpassword
Syntax
mac-authentication authpassword password
undo mac-authentication authpassword
View
System View
Parameter
password: Password for authentication, a string ranging from 1 to 16 characters in
length.
length.
Description
Use the
mac-authentication authpassword
command to set the password to
use when the centralized MAC authentication mode is set to usernamefixed.
Use the undo
mac-authentication authpassword
command to remove the
configured password.
By default, the password is configured when the centralized MAC authentication
mode is set to
mode is set to
usernamefixed
.
Example
To set the password for the fixed mode to mac, enter the following: