Allied Telesis Rapier i Series Switch User Manual


 
USA Headquar ters | 19800 Nor th Cr eek Parkwa y | Suite 200 | Bothell | WA 98011 | USA | T: +1 800 424 4284 | F: +1 425 481 3895
Eur opean Headquar ters | Via Motta 24 | 6830 Chiasso | Switzerland | T: +41 91 69769.00 | F: +41 91 69769.11
Asia-Pacific Headquar ters | 11 T ai Seng Link | Singapor e | 534182 | T: +65 6383 3832 | F: +65 6383 3830
www .alliedtelesis.com
© 2007 Allied Te l esis,
Inc. All rights reserved.Information in this document is subject to change without notice.
All company names,logos, and product designs that are trademarks or registered trademarks are the property of their respective owners.
Allied Telesis is a trademark or registered trademark of Allied Telesis, Inc. in the United States and other countries.
C613-16086-00 REV B
The following configuration (thanks to www.thtech.net/article/
1
0) will record Option 82
information in syslog. This part is ignored if no Option 82 information is passed on. The
logfile location is configured in syslog.
if exists agent.circuit-id
{
log ( info, concat( "NEW LEASE - IP: ", binary-to-ascii (10, 8, ".", leased-address),
", PORT: ", binary-to-ascii (10, 8, ":", suffix ( option agent.circuit-id, 2)),
", VLAN: ", binary-to-ascii(10, 16, "", substring( option agent.circuit-id, 2, 2)),
", SWITCH: ", binary-to-ascii(16, 8, ":", substring( option agent.remote-id, 2, 6))));
log ( info, concat( "IP ", binary-to-ascii (10, 8, ".", leased-address),
" raw option-82 info is CID: ", binary-to-ascii (10, 8, ".", option agent.circuit-id), "
AID: ",
binary-to-ascii(16, 8, ".", option agent.remote-id)));