1-10 
z  The offline detect timer configured in system view applies to all MAC authentication-enabled ports. 
z  The offline detect timer configured in Ethernet port view applies to the current port only. You can 
set the offline detect timer to different values on different Ethernet ports.  
z  The offline detect timer configured in Ethernet port view takes precedence over the one configured 
in system view. 
z  If the offline-detect-value argument takes the value of 0, the offline detect timer is disabled.  
Examples 
# Set the offline detect timer for MAC authentication to 500 seconds on port Ethernet 1/0/1.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname]interface ethernet 1/0/1 
[Sysname-Ethernet1/0/1] mac-authentication timer offline-detect 500 
reset mac-authentication 
Syntax 
reset mac-authentication statistics [ interface interface-list ] 
View 
User view 
Parameters 
interface-list: List of Ethernet ports. You can specify multiple Ethernet ports by providing this argument 
in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } 
&<1-10>, where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this 
argument. 
Description 
Use the reset mac-authentication command to clear the MAC address authentication statistics. With 
the interface keyword specified, the command clears the MAC address authentication statistics of the 
specified port. Without this keyword, the command clears the global MAC address authentication 
statistics. 
Examples 
# Clear the MAC address authentication statistics for port Ethernet 1/0/1. 
<Sysname> reset mac-authentication statistics interface Ethernet 1/0/1 
MAC Address Authentication Enhanced Function Configuration 
Commands 
mac-authentication auth-fail 
Syntax 
mac-authentication auth-fail vlan authfail-vlan-id 
undo mac-authentication auth-fail vlan