
Procedure
l
Enabling MAC address authentication in the system view
1.
Run:
system-view
The system view is displayed.
2.
Run:
mac-authen
interface
{
interface-type
interface-number1
[
to
interface-
number2
] } &<1-10>
MAC address authentication is enabled on an interface.
By default, MAC address authentication is disabled on an interface.
l
Enabling MAC address authentication in the interface view
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface view is displayed.
3.
Run:
mac-authen
MAC address authentication is enabled on the interface.
By default, MAC address authentication is disabled on an interface.
----End
5.4.4 (Optional) Setting the Format of the User Name
A fixed user name or a MAC address can be used for MAC address authentication.
Context
When the MAC address is used as the user name for MAC address authentication, the MAC
address is used as the authentication password.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
mac-authen username
macaddress
[
format
{
with-hyphen
|
without-hyphen
} ]
The format of the user name is set.
By default, the MAC address without hyphens is used as the user name and password for MAC
address authentication.
----End
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
5 NAC Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
114