Hi,
"log-and-trap" vs "log" is about what info will be sent to signal the loop detection. The "disable-port" is the action taken when a loop is detected, and the "permanent" keyword means the port will not go back up automatically, an admin will have to enable it. As for the "ingress" versus "egress" options, this is a new one since 16.1. It tells what port should be disabled, either the "ingress" one (where the elrp looped packet has been received) or the "egress" one (where the elrp looped packet has been transmitted).