<div dir="ltr">I'm using a global statement which allows me to log all data that comes into the server with Option82 in it. Here is what I am using:<div><br></div><div><div>if((option dhcp-message-type = 3 or option dhcp-message-type = 5) and</div><div>      exists agent.circuit-id) {</div><div><br></div><div>    log(info, concat( "OPTION-82 | IP =",</div><div>        binary-to-ascii (10, 8, ".",leased-address),</div><div>        " | MAC=",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 1, 1))),2),":",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 2, 1))),2),":",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 3, 1))),2),":",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 4, 1))),2),":",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 5, 1))),2),":",</div><div>        suffix (concat("0", binary-to-ascii (16, 8, "",</div><div>        substring( hardware, 6, 1))),2),</div><div>        #" | CIRCUIT-ID=",</div><div>        #binary-to-ascii (10, 8, ".", option agent.circuit-id),   </div><div>        #" | REMOTE-ID=", </div><div>        #binary-to-ascii (10, 8, ".", option agent.remote-id),</div><div>        " | CIRCUIT-ID=",</div><div>        substring( option agent.circuit-id, 0, 9999),</div><div>        " | REMOTE-ID=",</div><div>        substring( option agent.remote-id, 0, 9999)));</div><div>}</div></div><div><br></div><div>We have about 25 markets, or "pools", subnet declarations, whatever you want to call it. Some of which are test markets we are using for internal use. I need the ability to enable/disable option82 logging for these markets. I'd rather keep the logging statement global then disable only the few internal use markets that I need to. Is there a way to accomplish this. </div></div>