Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
dot1x_eap_stats API

This document provides a brief description of the dot1x_eap_stats OpEN APIs. It provides the following services:

Example C Application dot1x_eap_stats_example

Initialization

In the main function, the sample application initializes the OpEN API RPC service by calling openapiClientRegister() and waits for the RPC service in switchdrvr to start. A Client Handle is returned by openapiClientRegister() which is used while invoking the OpEN APIs. The application then exercises the associated OpEN APIs and logs informational and/or error messages on the console. The example application runs to its completion and exits.

dot1x_eap_stats_example

dot1x_eap_stats_example.c is a sample application that demonstrates the use of OpEN's dot1x_eap_stats APIs. dot1x_eap_stats_example is started from the command line and can be used to exercise the various APIs by specifying arguments on the command line.

Sample Output

dot1x_eap_stats CLI/API Cross Reference

CLI Command OpEN API Reference
show dot1x statistics <intIfNum> openapiDot1xPortEapolFramesRxGet()
openapiDot1xPortEapolFramesTxGet()
openapiDot1xPortEapolStartFramesRxGet()
openapiDot1xPortEapolLogoffFramesRxGet()
openapiDot1xPortEapRespIdFramesRxGet()
openapiDot1xPortEapResponseFramesRxGet()
openapiDot1xPortEapReqIdFramesTxGet()
openapiDot1xPortEapReqFramesTxGet()
openapiDot1xPortInvalidEapolFramesRxGet()
openapiDot1xPortEapLengthErrorFramesRxGet()
openapiDot1xPortLastEapolFrameVersionGet()
openapiDot1xPortLastEapolFrameSourceGet()
clear dot1x statistics <intIfNum> openapiDot1xPortStatsClear()