Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
386
on the MAC address. The MAC addresses format can be configured with the authentication mac
username format command.
Example
This example shows how to configure the password for MAC authentication.
Switch# configure terminal
Switch(config)# mac-auth password newpass
Switch(config)#
43-4 mac-auth username
This command is used to configure the username of local and RADIUS authentication. Use the no form of
this command to restore the username to the client’s MAC address.
mac-auth username STRING
no mac-auth username
Parameters
username STRING
Specifies the username for MAC authentication. The length of the
string cannot be over 16 characters.
Default
By default, the username is the client’s MAC address.
Command Mode
Global Configuration Mode,
Command Default Level
Level: 12.
Usage Guideline
This command is used to configure the username used in the authentication of MAC address users. The
username is used in the authentication via both the local database and remote servers. If the command is
not configured, the username for authentication of the MAC address user is formatted based on the MAC
address.
Example
This example shows how to configure the username for MAC authentication.
Switch# configure terminal
Switch(config)# mac-auth username alpha
Switch(config)#
43-5 snmp-server enable traps mac-auth
This command is used to enable sending SNMP notifications for MAC authentication. Use the no form of
the command to disable sending SNMP notifications.
snmp-server enable traps mac-auth