Viewing EAPoL Session Statistics

View EAPoL session statistics to manage network performance.

Note

Note

Use the clear-stats command to clear EAP/NEAP statistics.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display the session statistics:

    show eapol session—stats interface [gigabitEthernet [{slot/port[/sub-port][-slot/port[/sub-port]][,...]}]

Example

Switch:1#show eapol session-stats interface
================================================================================
                      Eap Authenticator Session Statistics
================================================================================
PORT  MAC    SESSION   AUTHENTIC       SESSION         TERMINATE       USER
NUM          ID        METHOD          TIME            CAUSE           NAME
--------------------------------------------------------------------------------
1/1   18:a9:05:b1:04:ce    cb000000  remote-server   0 day(s), 05:58:16    not-terminated  sachin
1/4   00:00:00:00:00:01    cb000002  remote-server   0 day(s), 05:48:01    not-terminated  000000000001
--------------------------------------------------------------------------------

Variable Definitions

Use the data in the following table to use the show eapol session-stats interface command.

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Job Aid

The following table describes the output for the show eapol session-stats interface command.

Table 1. show eapol session-stats interface field descriptions

Parameter

Description

PORT NUM

Displays the port number in use.

MAC

Displays the MAC address of the client.

USER NAME

Displays the user name of the Supplicant Authenticator Port Access Entity (PAE).

SESSION ID

Displays a unique identifier for the session.

AUTHENTIC METHOD

Displays the authentication method (remote or local RADIUS server) used to establish the session.

SESSION TIME

Displays the duration of the session (in seconds).

TERMINATE CAUSE

Displays the reason the session terminated.