configure elrp-client periodic vlan_name ports [ports | all] interval sec [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 (Simple Network Management Protocol) 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 the disable port option is selected, keep in mind that the entire port will be disabled. 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}