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

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

Example C Application radius_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.

radius_example

radius_example.c is a sample application that demonstrates the use of OpEN's radius APIs. radius_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

radius CLI/API Cross Reference

CLI Command OpEN API Reference
(Config)#
[no]radius server host
openapiRadiusAuthServerAdd()
openapiRadiusAuthServerRemove()
openapiRadiusAuthServerPortNumSet()
openapiRadiusServerNameSet()
openapiRadiusAccountingHostNameServerPortNumSet()
(Config)#
[no]radius server attribute 4
openapiRadiusAuthServerAttribute4Set()
(Config)#
[no]radius server retransmit
openapiRadiusServerRetransSet()
(Config)#
[no]radius server timeout
openapiRadiusServerTimeOutSet()
(Config)#
[no]radius accounting mode
openapiRadiusAccountingModeSet()
(Config)#
[no]radius server key
openapiRadiusHostNameServerAddrVerify()
openapiRadiusHostNameServerSharedSecretKeyTypeSet()
openapiRadiusAccountingHostNameServerSharedSecretSet()
openapiRadiusAccountingServerIPHostNameVerify()
openapiRadiusAuthServerSharedSecretEncryptedSet()
(Priv-User Mode)#
show radius
openapiRadiusServerFirstIPHostNameGet()
openapiRadiusServerNextIPHostNameGet()
openapiRadiusServerGlobalSelectedGet()
openapiRadiusConfiguredServersCountGet()
openapiRadiusAuthServerPortNumGet()
openapiRadiusAuthServerAttribute4Get()
openapiRadiusServerRetransGet()
openapiRadiusServerTimeOutGet()
openapiRadiusAccountingModeGet()
openapiRadiusAuthServerTypeGet()
(Priv-User Mode)#
show radius statistics
openapiRadiusNamedServerAddrGet()
openapiRadiusServerHostNameGet()
openapiRadiusServerStatRTTGet()
openapiRadiusServerStatAccessReqGet()
openapiRadiusServerStatAccessRetransGet()
openapiRadiusServerStatAccessAcceptGet()
openapiRadiusServerStatAccessRejectGet()
openapiRadiusServerStatAccessChallengeGet()
openapiRadiusServerStatMalformedAccessResponseGet()
openapiRadiusServerStatBadAuthGet()
openapiRadiusServerStatPendingReqGet()
openapiRadiusServerStatTimeoutsGet()
openapiRadiusServerStatUnknownTypeGet()
openapiRadiusServerStatPktsDroppedGet()
(Priv-User Mode)#
show radius accounting
openapiRadiusNamedAcctServerAddrGet()
openapiRadiusNamedAcctServerAddrGet()
openapiRadiusServerAcctHostNameGet()
openapiRadiusAcctServerStatRTTGet()
openapiRadiusAcctServerStatReqGet()
openapiRadiusAcctServerStatRetransGet()
openapiRadiusAcctServerStatResponseGet()
openapiRadiusAcctServerStatMalformedResponseGet()
openapiRadiusAcctServerStatBadAuthGet()
openapiRadiusAcctServerStatPendingReqGet()
openapiRadiusAcctServerStatTimeoutsGet()
openapiRadiusAcctServerStatUnknownTypeGet()
openapiRadiusAcctServerStatPktsDroppedGet()
openapiRadiusAcctServerFirstIPHostNameGet()
openapiRadiusAcctServerNextIPHostNameGet()
openapiRadiusServerGlobalCurentGet()
openapiRadiusAccountingHostNameServerPortNumGet()