Operation Manual – MAC Address Authentication
H3C S3100 Series Ethernet Switches
Chapter 1 MAC Authentication Configuration
1-3
1.3 Configuring Basic MAC Authentication Functions
Table 1-1
Configure basic MAC authentication functions
Operation
Command
Remarks
Enter system view
system-view
—
Enable MAC
authentication
globally
mac-authentication
Required
Disabled by
default
In system
view
mac-authentication
interface interface-list
interface interface-type
interface-number
mac-authentication
Enable MAC
authentication for
the specified
port(s) or the
current port
In interface
view
quit
Use either
method
Disabled by
default
Set the user name
in MAC address
mode for MAC
authentication
mac-authentication authmode
usernameasmacaddress
[
usernameformat
{
with-hyphen
|
without-hyphen
} {
lowercase
|
uppercase
} |
fixedpassword password
]
Optional
By default, the
MAC address of
a user is used as
the user name.
Set the user
name in
fixed mode
for MAC
authenticati
on
mac-authentication
authmode usernamefixed
Configure
the user
name
mac-authentication
authusername username
Set the user name
in fixed mode for
MAC
authentication
Configure
the
password
mac-authentication
authpassword password
Optional
By default, the
user name is
“mac” and no
password is
configured.
Specify an ISP
domain for MAC
authentication
mac-authentication domain isp-name
Required
The default ISP
domain (default
domain) is used
by default.