Radius Server Instance
19-21
RFSwitch(config-radsrv-group)#
19.1.7.13 Example–Creating a Group
The (config-radsrv-group) sub-instance is explained in the example below:
1. Create a group called Sales in the local RADIUS server database.
RFSwitch(config-radsrv)#group sales
2. Check the RADIUS user group’s configuration.
RFSwitch(config-radsrv-group)#?
RADIUS user group configuration commands:
3. Use a policy command to configure group policies for the group created in Step 1.
RFSwitch(config-radsrv-group)#policy ?
day Day of access policy configuration
time Configure time of access policy for this group
vlan VLAN id for this group
wlan Configure wlan access policy for this group
RFSwitch(config-radsrv-group)#policy day weekdays
RFSwitch(config-radsrv-group)#policy time start 12 30 end 15 30
4. Use the policy vlan command to assign a VLAN ID of 10 to the Sales group.
RFSwitch(config-radsrv-group)#policy vlan 10
5. Use the policy wlan command to allow only authorized users to access this group’s
WLAN.
RFSwitch(config-radsrv-group)#policy wlan 1 2 5
6. Use (config-radsrv)#rad-user to create a user called testuser and add it to
the group.
RFSwitch(config-radsrv)#rad-user testuser password testpassword
group sales
Mar 07 17:41:55 2009: RADCONF: Adding user "testuser" into local
database
Mar 07 17:41:55 2009: RADCONF: User "testuser" is added to group
"sales"
7. Use (config-radsrv)#nas to add a NAS entry for the group.
RFSwitch(config-radsrv)#nas ?
A.B.C.D/M Radius client IP address