If a user passes RADIUS authentication, but fails AAA authentication, the RADIUS server may still allocate an address for the user from its internal address pool. To indicate to the RADIUS server to free the address, you can set up the router to send an Acct-Stop message if a user fails AAA.
aaa accounting acct-stop on-aaa-failure
- host1:vr17(config)#aaa accounting acct-stop
on-aaa-failure disable
aaa accounting acct-stop on-access-deny
- host1:vr17(config)#aaa accounting acct-stop
on-access-deny enable