Configuration Guide 802.1x Configuration
Ruijie(config)# dot1x accounting acct-list
Ruijie(config)# end
Ruijie# write memory
Ruijie# show running-config
The agreed accounting key must be the same as that of the Radius Server and authentication.
The accounting function cannot be enabled unless the AAA is enabled.
The accounting is impossible unless the 802.1X authentication passes.
By default, the accounting function of the 802.1x is disabled.
For the database format of accounting, see the related Radius Server documentation.
In case of the domain-name-based AAA service switch is enabled, that is when the aaa domain enable
command is configured, the accounting method list chosen by the dot1x accounting command will not be
used. Instead, the accounting method list configured by the domain where the user locates will be used. For
detailed configuration, see Configuring the AAA Service Based on Domain Names.
Also, the account update is supported. After the account update interval is set on the NAS device, the NAS device will
send account update packets to the Radius Server at periodical intervals. On the Radius Server, you can define the
number of periods before which the account update packet of a user is not received from the NAS device, the NAS or user
will be regarded as off-line. Then, the Radius Server can stop the accounting of the user, and delete the user from the
on-line user table.
In the privileged EXEC mode, you can set the account update function by performing the following steps:
You can disable the account update service by using the no aaa accounting update command.
Ruijie# configure terminal
Ruijie(config)# aaa accounting update
Ruijie(config)# end
Ruijie# write memory
Ruijie# show running-config