> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/smc/3.10/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/smc/3.10/soc/radius.md).

# RADIUS support

Session Management Controller (SMC) follows the general guidelines of the [3GPP 29.061](https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1596) specification.
RADIUS Authentication and Authorization is used according to RFC2865, RFC3162, and RFC4818 specifications.

## RADIUS Access-Requests

| AVP | Reference | Description | Required |
| --- | --- | --- | --- |
| 3GPP-Charging-ID | 3GPP TS29.061 | Charging-ID | |
| 3GPP-GGSN-Address | 3GPP TS29.061 | IP-Address | No |
| 3GPP-GGSN-MCC-MNC | 3GPP TS29.061 | | No |
| 3GPP-IMEISV | 3GPP TS29.061 | International Mobile Equipment Id and its Software Version | No |
| 3GPP-IMSI | 3GPP TS29.061 | | |
| 3GPP-IMSI-MCC-MNC | 3GPP TS29.061 | | |
| 3GPP-MS-Timezone | 3GPP TS29.061 | | |
| 3GPP-NSAPI | 3GPP TS29.061 | | |
| 3GPP-PDP-Type | | "IPv4" | "IPv6" | |
| 3GPP-RAT-Type | 3GPP TS29.061 | Radio Access Technology | No |
| 3GPP-SGSN-Address | | IP-Address | |
| 3GPP-SGSN-MCC-MNC | | MCC MNC of Visited Network | |
| 3GPP-Selection-Mode | | | No |
| 3GPP-User-Location-Info | | Indicate details of where the UE is currently located | No |
| Acct-Multi-Session-Id | | | |
| Acct-Session-Id | | User session identifier | Yes |
| Called-Station-Id | | DNN / APN | Yes |
| Calling-Station-Id | | MSISDN Value | No |
| Framed-Pool | | | |
| Framed-Protocol | | 7 (GRPS PDP Context) | No |
| Framed-IP-Address | | UE IPv4 address | Conditional |
| Framed-IP-Netmask | | Ipv4 | Conditional |
| Framed-IPv6-Pool | | | |
| Framed-Ipv6-Prefix | Framed-Ipv6-Prefix | UE IPv6 Prefix | Conditional |
| Message-Authenticator | | | Yes |
| NAS-IP-Address | 3GPP TS29.061 | IP-Address | Conditional |
| NAS-Identifier | 3GPP TS29.061 | String | Conditional |
| Service-Type | 3GPP TS29.061 | "Framed" | No |
| User-Name | RFC2865 5.1 | String | Yes |
| User-Password | RFC2865 5.2 | Encrypted String | Conditional |

## Access-Accept

| AVP | Reference | Description | Required |
| --- | --- | --- | --- |
| Class | | | |
| Framed-IP-Address | 3GPP TS29.061 | IP-Address | |
| Framed-Protocol | 3GPP TS29.061 | | |
| MS-Primary-DNS-Server | RFC 2548 | IP-Address | No |
| MS-Secondary-DNS-Server | RFC 2548 | IP-Address | No |
| Service-Type | | "Framed" | |
| Message-Authenticator | | | |
| Acct-Interim-Interval | | Interval in seconds between 2 consecutive Accounting-Interims for the same sessions | No |

## Access-Reject

| AVP | Reference | Description | Required |
| --- | --- | --- | --- |
| Reply-Message | | Text describing the reason for the Access-Reject | No |

## RADIUS Accounting Requests

| AVP | Reference | Description | Required |
| --- | --- | --- | --- |
| 3GPP-Charging-ID | 3GPP TS29.061 | | |
| 3GPP-GGSN-Address | 3GPP TS29.061 | IP-Address | No |
| 3GPP-GGSN-MCC-MNC | 3GPP TS29.061 | | |
| 3GPP-GPRS-Negotiated-QoS-profile | 3GPP TS29.061 | | |
| 3GPP-IMEISV | 3GPP TS29.061 | | No |
| 3GPP-IMSI | 3GPP TS29.061 | | |
| 3GPP-IMSI-MCC-MNC | 3GPP TS29.061 | | |
| 3GPP-MS-TimeZone | 3GPP TS29.061 | | |
| 3GPP-NASAPI | 3GPP TS29.061 | | |
| 3GPP-PDP-Type | 3GPP TS29.061 | IPv4 | |
| 3GPP-RAT-Type | 3GPP TS29.061 | | |
| 3GPP-SGSN-Address | 3GPP TS29.061 | | |
| 3GPP-SGSN-MCC-MNC | 3GPP TS29.061 | | |
| 3GPP-Selection-Mode | 3GPP TS29.061 | | |
| 3GPP-User-Location-Info | 3GPP TS29.061 | | No |
| Acct-Input-Gigawords | RFC 2869 | | |
| Acct-Input-Octets | RFC 2866 | | |
| Acct-Input-Packets? | RFC 2866 | | |
| Acct-Multi-Session-Id | | | |
| Acct-Output-Gigawords | | | |
| Acct-Output-Octets | | | |
| Acct-Output-Packets? | | | |
| Acct-Session-Id | RFC 2866 | | |
| Acct-Session-Time | RFC 2866 | Duration of session | |
| Acct-Status-Type | RFC 2866 | Start \| Interim-Update \| Stop | |
| Acct-Terminate-Cause | RFC 2866 | | |
| Called-Station-Id | RFC 2865 | DDN / APN | Yes |
| Calling-Station-Id | RFC 2865 | | No |
| Class | | Received in the Access-Accept | No |
| Event-Timestamp | | | |
| Framed-IP-Address | | IPv4 \| IPv6 | |
| Framed-IPv6-Pool | | | |
| Framed-Pool | | | |
| Framed-Protocol | | GPRS-PDP-Context | |
| NAS-IP-Address | | | |
| NAS-Identifier | | | |
| Service-Type | | Framed | |
| User-Name | | | |

## RADIUS Disconnect-Request

| AVP | Description | Required |
| --- | --- | --- |
| Acct-Session-Id | Session-Id to identify the session | Yes |
| Framed-IP-Address | IP-Address | Yes |
| NAS-IP-Address | IP-Address | |
| Reply-Message | "Lost-Service" | |

## External reference

* [3GPP TS29.061](https://www.etsi.org/deliver/etsi_ts/129000_129099/129061/16.03.00_60/ts_129061v160300p.pdf)
* [RFC2865](https://datatracker.ietf.org/doc/html/rfc2865)
* [RFC2866](https://datatracker.ietf.org/doc/html/rfc2866)
* [RFC2869](https://datatracker.ietf.org/doc/html/rfc2869)
