Freeradius Unlang Update ?

Olivier CALVANO o.calvano at gmail.com
Thu Nov 19 07:00:16 CET 2020


Hello

I have a quick question for simplicity:

Currently I use:

                update reply {
                        tunnel-Server-Endpoint: 0: = '172.16.1.1'
                        tunnel-Client-Auth-Id: 0: = "LAC-172.16.1.1"
                        tunnel-Server-Auth-Id: 0: = "LNS-172.16.1.1"
                        Tunnel-Type: = "L2TP"
                        Tunnel-Medium-Type: = "IPv4"
                        Class: = "FTTH-TLM"
                        Tunnel-Preference !* ""
                        Framed-MTU !* ""
                        Cisco-AVPair !* ""
                        MS-Primary-DNS-Server !* ""
                        MS-Secondary-DNS-Server !* ""
                        Framed-IP-Address !* ""
                        Framed-IP-Netmask !* ""
                        Service-Type !* ""
                        Framed-Protocol !* ""
                        Port-Limit !* ""
                  }


I mostly need to send ONLY the first 5 attributes.
do i have the option to delete all attributes in one command then put the 5
attributes i need?

exemple:
 update reply {
                        * !* ""
                        tunnel-Server-Endpoint: 0: = '172.16.1.1'
                        tunnel-Client-Auth-Id: 0: = "LAC-172.16.1.1"
                        tunnel-Server-Auth-Id: 0: = "LNS-172.16.1.1"
                        Tunnel-Type: = "L2TP"
                        Tunnel-Medium-Type: = "IPv4"
                        Class: = "FTTH-TLM"
  }



thank you for your suggestion

regards


More information about the Freeradius-Users mailing list