RADIUS Attributes Reference

Searchable reference of the standard RADIUS attributes and the vendor-specific attributes that matter in ISP and enterprise deployments.

Reference RADIUS & AAA Runs in your browser

Result

Standard attributes shown
41 of 41
Vendor attributes shown
10 of 10

Standard attributes (RFC 2865 / 2866 / 3162 / 4818)

#AttributeTypeUsed inNotes
1User-NamestringRequestThe identity being authenticated - a PPPoE login, a MAC address for MAB, or an EAP identity.
2User-PasswordstringRequestPAP password, obfuscated with MD5 against the shared secret. Not encryption.
3CHAP-PasswordoctetsRequestCHAP response; requires the server to hold the cleartext password.
4NAS-IP-AddressipaddrRequestAddress of the NAS sending the request - must match a clients.conf entry.
5NAS-PortintegerRequestPhysical or virtual port number on the NAS.
6Service-TypeintegerBothFramed-User for PPP/DHCP subscribers, Login-User for shell, Call-Check for MAB.
7Framed-ProtocolintegerBothPPP (1) for PPPoE sessions.
8Framed-IP-AddressipaddrReplyStatic address handed to the session. 255.255.255.254 means "assign from NAS pool".
9Framed-IP-NetmaskipaddrReplyNetmask for the framed address.
11Filter-IdstringReplyNames an ACL or filter already defined on the NAS.
12Framed-MTUintegerReplyMTU for the session - 1492 on PPPoE.
18Reply-MessagestringReplyHuman-readable text; some NAS platforms display it to the user on reject.
22Framed-RoutestringReplyRoute to install pointing at this session - used for routed CPE.
24StateoctetsBothOpaque value binding multi-round EAP exchanges together.
25ClassoctetsBothServer-supplied opaque value echoed back in accounting - the correct way to correlate auth with accounting.
26Vendor-SpecificoctetsBothContainer for VSAs such as Mikrotik-Rate-Limit or Cisco-AVPair.
27Session-TimeoutintegerReplySeconds before the session is terminated. Used for prepaid and hotspot.
28Idle-TimeoutintegerReplySeconds of inactivity before termination.
29Termination-ActionintegerReplyRADIUS-Request (1) triggers reauthentication instead of disconnect at timeout.
30Called-Station-IdstringRequestNAS-side identifier - on WiFi, the AP MAC plus SSID.
31Calling-Station-IdstringRequestClient-side identifier - the subscriber MAC address.
32NAS-IdentifierstringRequestNAS name, an alternative to NAS-IP-Address.
40Acct-Status-TypeintegerAccountingStart (1), Stop (2), Interim-Update (3), Accounting-On (7), Accounting-Off (8).
42Acct-Input-OctetsintegerAccountingBytes received from the subscriber - wraps at 4 GiB without the Gigawords companion.
43Acct-Output-OctetsintegerAccountingBytes sent to the subscriber.
44Acct-Session-IdstringAccountingUnique session identifier - the key for CoA and billing correlation.
45Acct-AuthenticintegerAccountingHow the session was authenticated (RADIUS, Local, Remote).
46Acct-Session-TimeintegerAccountingSession duration in seconds.
47Acct-Input-PacketsintegerAccountingPackets received from the subscriber.
49Acct-Terminate-CauseintegerAccountingWhy the session ended - User-Request, Lost-Carrier, Idle-Timeout, Admin-Reset.
52Acct-Input-GigawordsintegerAccountingHigh-order 32 bits of the input counter. Ignoring it undercounts every session past 4 GiB.
53Acct-Output-GigawordsintegerAccountingHigh-order 32 bits of the output counter.
61NAS-Port-TypeintegerRequestEthernet (15), Wireless-802.11 (19), Virtual (5), xDSL variants.
64Tunnel-TypeintegerReplyVLAN (13) for dynamic VLAN assignment in 802.1X.
65Tunnel-Medium-TypeintegerReplyIEEE-802 (6) alongside Tunnel-Type for VLAN assignment.
81Tunnel-Private-Group-IdstringReplyThe VLAN ID itself in dynamic VLAN assignment.
85Acct-Interim-IntervalintegerReplyHow often the NAS should send interim accounting updates, in seconds.
87NAS-Port-IdstringRequestText port identifier - often the DSLAM or OLT circuit ID.
88Framed-PoolstringReplyName of an address pool defined on the NAS.
97Framed-IPv6-Prefixipv6prefixReplyIPv6 prefix assigned to the link.
123Delegated-IPv6-Prefixipv6prefixReplyPrefix delegated to the CPE for downstream networks - typically a /56.

Vendor-specific attributes

VendorVendor IDAttributePurpose
MikroTik14988Mikrotik-Rate-Limit (8)rx/tx rate string controlling the subscriber queue.
MikroTik14988Mikrotik-Address-List (19)Adds the session address to a named firewall address list.
MikroTik14988Mikrotik-Realm (10)Realm string for PPP authentication.
MikroTik14988Mikrotik-Group (3)Assigns the session to a RouterOS user group or PPP profile.
Cisco9Cisco-AVPair (1)Generic name=value carrier: ip:qos-policy, subscriber:sub-qos-policy, shell:priv-lvl.
Cisco9h323-* attributesVoice gateway billing attributes.
Juniper2636Unisphere-Ingress-Policy-Name (10)Applies a named ingress policy to the subscriber (ERX/MX).
Juniper2636Juniper-Local-Group-Name (2)Login class for administrative access.
WISPr14122WISPr-Bandwidth-Max-Down (8)Vendor-neutral downstream rate in bit/s, honoured by many hotspot platforms.
Ubiquiti41112Unifi-VLAN (3)VLAN assignment for UniFi access points.
The Gigawords trap
Counters wrap: Acct-Input-Octets is 32 bits, so any session moving more than 4 GiB needs Acct-Input-Gigawords to be read alongside it. Billing systems that ignore Gigawords silently undercharge heavy users - and silently exonerate abusers.

About RADIUS Attributes Reference

RADIUS attributes are the vocabulary of AAA: what the NAS asks, what the server answers, and what accounting records carry. This is the working subset - the attributes that appear in real ISP and enterprise deployments, with notes on the behaviour that is not obvious from the RFC.

Where the interesting things live

Standard attributes cover identity, addressing and accounting. Everything vendor-specific - queue rates, QoS policy names, VLAN behaviour beyond the standard tunnel attributes - is carried inside attribute 26 (Vendor-Specific) as a VSA, keyed by an IANA vendor number. MikroTik is 14988, Cisco is 9, Juniper is 2636. Your server needs the matching dictionary loaded before it can send them by name.

Dynamic VLAN assignment

The standard combination is three attributes together: Tunnel-Type = VLAN (13), Tunnel-Medium-Type = IEEE-802 (6) and Tunnel-Private-Group-Id = <vlan>. All three are required - sending only the VLAN ID is the most common 802.1X misconfiguration, and most switches will simply ignore it.

Common use cases

  • Checking which attribute a NAS expects for a feature before writing policy.
  • Debugging an accounting record that does not line up with billing.
  • Finding the right VSA for a vendor you have not deployed before.

Edge cases and gotchas

  • Attribute names are dictionary-defined: a missing or mismatched dictionary makes the server send nothing rather than error loudly.
  • Class (25) is the intended correlation key between auth and accounting - many implementations invent their own instead and regret it.

Frequently asked questions

Why do my accounting byte counts look too low?
The 32-bit octet counters wrapped. Read Acct-Input-Gigawords and Acct-Output-Gigawords and combine: total = gigawords x 2^32 + octets.
How do I assign a VLAN from RADIUS?
Send Tunnel-Type = VLAN, Tunnel-Medium-Type = IEEE-802 and Tunnel-Private-Group-Id = the VLAN ID, all with the same tag value. All three are required.