211
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mac-authentication
Related commands
display mac-authentication
mac-authentication access-user log enable
Use
mac-authentication access-user log enable
to enable logging for MAC authentication users.
Use
undo mac-authentication access-user log enable
to disable logging for MAC authentication
users.
Syntax
mac-authentication access-user log enable
[
failed-login
|
logoff
|
successful-login
] *
undo mac-authentication access-user log enable
[
failed-login
|
logoff
|
successful-login
] *
Default
Logging for MAC authentication users is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
failed-login
: Specifies logs generated for login failures of MAC authentication users.
logoff
: Specifies logs generated for logoffs of MAC authentication users.
successful-login
: Specifies logs generated for successful logins of MAC authentication users.
Usage guidelines
As a best practice, disable this feature to prevent excessive output of logs for MAC authentication
users.
If you do not specify any parameters, this command enables all logging functions for MAC
authentication users.
Examples
# Enable logging for login failures of MAC authentication users.
<Sysname> system-view
[Sysname] mac-authentication access-user log enable failed-login
Related commands
info-center source maca logfile deny
(
Network Management and Monitoring Command
Reference
)
mac-authentication carry user-ip
Use
mac-authentication carry user-ip
to include user IP addresses in MAC authentication
requests sent to an IMC server.
Use
undo mac-authentication carry user-ip
to restore the default.
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...