Thank you all for your assistance. I finally got it working: elsif ("%{config:local.environment}" == "DEV") { "environment" was defined in local.conf, which in turn was included in radiusd.conf. Thanks & regards, Simon