configure elrp-client periodic {vlan} vlan_name ports [ports | all | none] {remote-endpoints vxlan all} {interval interval {seconds | milliseconds}} {log | log-and-trap | trap} {disable-port {egress | ingress} {duration {seconds} | permanent}}
This command starts periodic ELRP packet transmission on the specified ports of the VLAN using a specified interval. If any of these transmitted packets is returned, indicating loopback detection, the ELRP client performs the configured action of logging a message in the system log file and/or sending a trap to the SNMP manager.
When the option of disabling a port is configured, you choose the duration in seconds as a hold time, or you disable the port permanently. When ELRP disables the port, the operation is not persistent. When the switch is rebooted, the port is enabled when the switch comes up.
Note
ELRP detects loops on a per VLAN basis. When you select the disable-port option keep in mind that the entire port is disabled. In the case of VXLAN, the remote tunnel endpoint's (RTEP) state is taken down for all VXLAN virtual networks. This may affect connectivity for other VLANs configured on that port that did not have any data loop problems. ELRP also does not distinguish between uplink ports and host ports. When the disable port option is selected and ELRP detects a loop, any and all ports where the loop was detected will be disabled, including uplink ports.
unconfigure elrp-client {vlan_name | dynamic-vlans}