
Operation Manual – 802.1x-HABP-MAC Authentication
H3C S3610&S5510 Series Ethernet Switches
Chapter 4 MAC Authentication Configuration
4-5
To do…
Use the command…
Remarks
Configure the username
and password for MAC
authentication
mac-authentication
user-name-format
{
fixed
[
account
name
]
[
password
{
cipher
|
simple
}
password
]
|
mac-address
[
with-hyphen
|
without-hyphen
] }
Optional
By default, the user’s
source MAC address
serves as the username
and password, and the
MAC address does not
contain hyphen “-“.
Note:
z
You can configure MAC authentication for various ports in advance. The
configuration, however, takes effect only after the global MAC authentication is
enabled.
z
You can neither add a MAC authentication enabled port into an aggregation group,
nor enable MAC authentication on a port added into an aggregation group.
4.4 Displaying and Maintaining MAC Authentication
To do…
Use the command…
Remarks
Display the global MAC
authentication information
or the MAC authentication
information about
specified ports
display
mac-authentication
[
interface
interface-list
]
Available in any view
Clear the MAC
authentication statistics
reset
mac-authentication
statistics
[
interface
interface-list
]
Available in user view
4.5 MAC Authentication Configuration Examples
4.5.1 Local MAC Authentication Configuration Example
I. Network requirements
, a supplicant is connected to the device through port
Ethernet 1/0/1.
z
Local MAC authentication is required on every port to control user access to the
Internet.
z
All users belong to domain aabbcc.net.