mac
Commands for MAB
490
46.12 mac-authentication-bypass timeout stale-period
Command: mac-authentication-bypass timeout stale-period <0-60>
no mac-authentication-bypass timeout stale-period
Function: Set the time that delete the binding user after MAB port is down. The no
command restores the default value.
Parameters: <1-60>: The time that delete the binding, ranging from 0 to 60s.
Command Mode: Global Mode
Default: 30s.
Usage Guide: If the time that delete the binding as 0, delete all user binding of this port
as soon as the MAB port is down, if the time is bigger than 0, delete the user binding with
a delay after the MAB port is down.
Example: Configure the deletion time as 40s.
Switch(Config)#mac-authentication-bypass timeout stale-period 40
46.13 mac-authentication-bypass username-format
Command: mac-authentication-bypass username-format {mac-address | {fixed
username WORD password WORD}}
Function: Set the authenticate method of MAB authentication.
Parameters: mac-address: Use MAC address of MAB user as username and password
to authenticate.
fixed username WORD password WORD: Use the specified username
and password to authenticate, the length of username and password ranges between 1
and 32 characters.
Command Mode: Global Mode
Default: Use MAC address of MAB user as username and password to authenticate.
Usage Guide: There are two methods for MAB authentication: use MAC address of
MAB user as username and password to authenticate or use the specified username
and password to authenticate. If there is no specified username and password, the
device uses the first method to authenticate by default.
Example: All MAB users use the same username and password to authenticate, the
username is mab-user, the password is mab-pwd.
Switch(Config)#mac-authentication-bypass username-format fixed username mab-user
password mab-pwd










