diff options
author | Ole Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com> | 2019-11-11 22:14:22 +0100 |
---|---|---|
committer | Ole Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com> | 2019-11-11 22:14:22 +0100 |
commit | ef8122013956d09127c25285fde92b39c4e8af55 (patch) | |
tree | 34ce1266ae41d86e9378f481c1afb1e00be9c90c /examples/tg19/dhcp/config/dhcpd4_wlc.conf | |
parent | 1f190fed23d84fa00559653e868e6be5ff6451aa (diff) |
A little TG19 scripts and config
Diffstat (limited to 'examples/tg19/dhcp/config/dhcpd4_wlc.conf')
-rw-r--r-- | examples/tg19/dhcp/config/dhcpd4_wlc.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/tg19/dhcp/config/dhcpd4_wlc.conf b/examples/tg19/dhcp/config/dhcpd4_wlc.conf new file mode 100644 index 0000000..02fabf1 --- /dev/null +++ b/examples/tg19/dhcp/config/dhcpd4_wlc.conf @@ -0,0 +1,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"; +} |