The link-up script logs MAC addresses with correlation to the interface (EX) they are attached to. When a link becomes active, a message needs to be written to syslog indicating the interface name and the MAC address of the device(s) plugged into the interface.
Read the document link-up