Below is the content of mac2vlan file in freeradius.
When I uncomment this line 00:01:02:03:04:05,VLAN1
it logs a parsing error
including configuration file /etc/raddb/modules/mac2vlan
/etc/raddb/modules/mac2vlan[10]: Parse error after "00:01:02:03:04:05"
Errors reading /etc/raddb/radiusd.conf
What is the correct syntax?
# -*- text -*-
#
# $Id$
# A simple file to map a MAC address to a VLAN.
#
# The file should be in the format MAC,VLAN
# the VLAN name cannot have spaces in it, for example:
#
00:01:02:03:04:05,VLAN1
# 03:04:05:06:07:08,VLAN2
# ...
passwd mac2vlan {
filename = ${confdir}/mac2vlan
format = "*VMPS-Mac:=VMPS-VLAN-Name"
delimiter = ","
}