loop-protect action

Syntax

loop-protect action {do-not-disable | tx-disable | tx-rx-disable}

no loop-protect action {do-not-disable | tx-disable | tx-rx-disable}

Description

Sets the action to be taken when a loop protection packet is received on a port.

The no form of this command resets the action to the default (tx-disable).

Command context

config-if

Parameters

do-not-disable

No ports are disabled. On every transmit interval, the loop will be detected and the detection will be reported via an SNMP trap and an event log message.

tx-disable

The port that transmitted the loop detection packet is disabled. Default.

tx-rx-disable

The ports that transmitted and received the loop detection packet are disabled.

Authority

Administrators

Example

switch# config
switch(config)# interface 1
switch(config-if)# loop-protect action do-not-disable
switch(config-if)# no loop-protect action do-not-disable