FREERADIUS - show VLAN in radacct's NAS-PORT-ID column

Matthew Newton mcn at
Sun Jun 23 13:32:17 CEST 2019

On 23 June 2019 11:51:09 BST, JAHANZAIB SYED <aacable at> wrote:
>in Radacct "nas-port-id" column, how can we show VLAN name or Vlan
>number instead of just numbers.
>currently in radacct we can see this
>NAS-PORT-ID column: 1548484
>NAS-PORT-ID column: 1529618
>at another network I can saw the VLAN names there, like
>NAS-PORT-ID column: Vlan11
>NAS-PORT-ID column: vlan20
>is there any additional config required on freeradius to achieve this ?

See the SQL queries in the config. FreeRADIUS records whatever the NAS sends, so you need to update the NAS config.


More information about the Freeradius-Users mailing list