.. _example_interfaces_ethernet_802.1x_authenticator_aaa_accounting_radiusterminatecapture:
########################
Radius Terminate Capture
########################
.. sidebar:: Contents
.. contents::
:depth: 2
:local:
These scenarios show different acct-terminate-causes that
are sent by OSDx devices when 802.1x sessions end.
.. image:: causes.svg
:width: 400
******************************
Test 802.1x User Request Cause
******************************
Description
===========
This scenario shows how to stop an 802.1x session using
operational command ``supplicant disconnect``.
Accounting RADIUS stop messages should contain the
following attribute: ``acct-terminate-cause=1``.
Scenario
========
.. include:: radiusterminatecapture/test802.1xuserrequestcause
.. raw:: html
******************************
Test 802.1x Lost Carrier Cause
******************************
Description
===========
This scenario shows how an 802.1x session is stopped
after a link down event in DUT0 ``eth1``.
Accounting RADIUS stop messages should contain the
following attribute: ``acct-terminate-cause=2``.
Scenario
========
.. include:: radiusterminatecapture/test802.1xlostcarriercause
.. raw:: html
******************************
Test 802.1x Idle Timeout Cause
******************************
Description
===========
This scenario shows how an 802.1x session is stopped
after a reauthentication timeout.
Accounting RADIUS stop messages should contain the
following attribute: ``acct-terminate-cause=4``.
Scenario
========
.. include:: radiusterminatecapture/test802.1xidletimeoutcause
.. raw:: html
*****************************
Test 802.1x Admin Reset Cause
*****************************
Description
===========
This scenario shows how to stop an 802.1x session using
operational command ``authenticator disassociate``.
Accounting RADIUS stop messages should contain the
following attribute: ``acct-terminate-cause=6``.
Scenario
========
.. include:: radiusterminatecapture/test802.1xadminresetcause
.. raw:: html
*****************************
Test 802.1x NAS Request Cause
*****************************
Description
===========
This scenario shows how to stop an 802.1x session from
the authentication server using a CoA message.
Accounting RADIUS stop messages should contain the
following attribute: ``acct-terminate-cause=10``.
Scenario
========
.. include:: radiusterminatecapture/test802.1xnasrequestcause
.. raw:: html