203
authentication, you only need to create one account on the authentication server. This user account
type is suitable for trusted networks.
Examples
# Configure a shared account for MAC authentication users, set the username to
abc
and password
to plaintext string of
xyz
.
<Sysname> system-view
[Sysname] mac-authentication user-name-format fixed account abc password simple xyz
# Use MAC-based user accounts for MAC authentication users. Each MAC address must be in the
hexadecimal notation with hyphens, and letters are in upper case.
<Sysname> system-view
[Sysname] mac-authentication user-name-format mac-address with-hyphen uppercase
Related commands
display mac-authentication
reset mac-authentication statistics
Use
reset mac-authentication statistics
to clear MAC authentication statistics.
Syntax
Wireless devices:
reset mac-authentication statistics
[
ap
ap-name
[
radio
radio-id
] |
interface interface-type
interface-number
]
Wired devices:
reset mac-authentication statistics
[
interface interface-type interface-number
]
Views
User view
Predefined user roles
network-admin
Parameters
ap ap-name
: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters. The string
can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and
hyphens (-). If you do not specify an AP, this command clears MAC authentication statistics for all
APs.
radio
radio-id
: Specifies a radio by its ID. The value range for the
radio-id
argument varies by device
model. If you do not specify a radio, this command clears MAC authentication statistics for all radios
on the specified AP.
interface interface-type interface-number
: Specifies a port by its type and number. If you do not
specify a port, this command clears both global and port-specific MAC authentication statistics.
Examples
# Clear MAC authentication statistics on port GigabitEthernet 1/0/1.
<Sysname> reset mac-authentication statistics interface gigabitethernet 1/0/1
Related commands
display mac-authentication
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...