D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 207
set user attr
Configures an authorization attribute in the local database on the switch for a user with a
password.
(To assign authorization attributes in RADIUS, see the documentation for your RADIUS server.)
Syntax: set user username attr attribute-name value
username Username of a user with a password.
attribute-name value Name and value of an attribute you are using to authorize the user for
a particular service or session characteristic.
Defaults: None.
Access: Enabled.
Usage: To change the value of an attribute, enter set user attr with the new value. To delete an
attribute, use clear user attr.
You can assign attributes to individual users and to user groups. If attributes are configured for
a user and also for the group the user is in, the attributes assigned to the individual user take
precedence for that user. For example, if the start-date attribute conhefigured for a user is sooner
than the start-date configured for the user group the user is in, the user’s network access can
begin as soon as the user start-date. The user does not need to wait for the user group’s start
date.
Examples: The following command assigns user Tamara to VLAN orange:
DWS-1008# set user Tamara attr vlan-name orange
success: change accepted.
The following command limits the days and times when user Student1 can access the network,
to 5 p.m. to 2 a.m. every weekday, and all day Saturday and Sunday:
DWS-1008# set user Student1 attr time-of-day Wk1700-0200,Sa,Su
success: change accepted.
See Also:
• clear user attr
• show aaa