aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg19/dhcp/config/dhcpd4_wlc.conf
blob: 02fabf1e1b8ad38c945c00ee35706330a89b3b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
option space WLC;
option WLC.controller-address code 43 = text;
class "access-points" {
	# Number of characters has to match the substring
	# I.e  if "Access Point", you have to use (0, 12)
	match if substring (option vendor-class-identifier, 0, 12) = "Access Point";

	if exists agent.circuit-id {
		log( info, concat( "AP: ", hostmac, " - ", option vendor-class-identifier, " - ", option agent.circuit-id ));
	} else {
		log( info, concat( "AP: ", hostmac, " - ", option vendor-class-identifier ));
	}

	vendor-option-space WLC;
	option WLC.controller-address "88.92.4.2";
}