D-Link DWS-1008 User Manual
You can select either
start-stop or stop-only accounting modes. The stop-only mode sends only
stop records, whereas
start-stop sends both start and stop records, effectively doubling the number
of accounting records. In most cases,
stop-only is entirely adequate for administrative accounting,
because a stop record contains all the information you might need about a session.
In the
set accounting command, you must include AAA methods that specify whether to use the
local database or RADIUS server to receive the accounting records. Specify
local, which causes the
processing to be done on the switch, or specify a RADIUS server group.
For example, you can set accounting for administrative users using the start-stop mode via the local
database:
DWS-1008#
set accounting admin EXAMPLE\* start-stop local
success: change accepted.
The accounting records show the date and time of activity, the user’s status and name, and other
attributes. The
show accounting statistics command displays accounting records for administrative
users after they have logged in to the switch.
Displaying the AAA Configuration
To display your AAA configuration, type the following command:
DWS-1008#
show aaa
Default Values
authport=1812 acctport=1813 timeout=5 acct-timeout=5 retrans=3 deadtime=0
key=(null) author-pass=(null)
Radius Servers
Server
Addr
Ports
T/o Tries Dead State
---------------------------------------------------------------------------------------------
r1
192.168.253.1
1812 1813 5
3
0
UP
Server groups sg1: r1
Web Portal: enabled
set authentication console * local
set authentication admin * local
set accounting admin Geetha stop-only local
set accounting admin * start-stop local
user Geetha
Password = 1214253d1d19 (encrypted)
Содержание DWS-1008
Страница 1: ......