beautypg.com

Configuring a global loop detection interval, Specifying the recovery time interval – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 82

background image

By default, the port will send test packets every one second, or the number of seconds specified by
the loop-detection-interval command. Refer to

Configuring a global loop detection interval

on page

82.

Syntax: [no] loop-detection

Use the [no] form of the command to disable loop detection.

Configuring a global loop detection interval

The loop detection interval specifies how often a test packet is sent on a port. When loop detection is
enabled, the loop detection time unit is 0.1 second, with a default of 10 (one second). The range is
from 1 (one tenth of a second) to 100 (10 seconds). You can use the show loop-detection status
command to view the loop detection interval.

To configure the global loop detection interval, enter a command similar to the following.

device(config)# loop-detection-interval 50

This command sets the loop-detection interval to 5 seconds (50 x 0.1).

To revert to the default global loop detection interval of 10, enter one of the following.

device(config)# loop-detection-interval 10

OR

device(config)# no loop-detection-interval 50

Syntax: [no] loop-detection-interval number

where number is a value from 1 to 100. The system multiplies your entry by 0.1 to calculate the
interval at which test packets will be sent.

Configuring the device to automatically re-enable ports

To configure the Brocade device to automatically re-enable ports that were disabled because of a loop
detection, enter the errdisable recovery cause loop-detection command.

device(config)# errdisable recovery cause loop-detection

The above command will cause the Brocade device to automatically re-enable ports that were
disabled because of a loop detection. By default, the device will wait 300 seconds before re-enabling
the ports. You can optionally change this interval to a value from 10 to 65535 seconds. Refer to

Specifying the recovery time interval

on page 82.

Syntax: [no] errdisable recovery cause loop-detection

Use the [no] form of the command to disable this feature.

Specifying the recovery time interval

The recovery time interval specifies the number of seconds the Brocade device will wait before
automatically re-enabling ports that were disabled because of a loop detection. (Refer to

Configuring

the device to automatically re-enable ports

on page 82.) By default, the device will wait 300 seconds.

To change the recovery time interval, enter a command such as the following.

device(config)# errdisable recovery interval 120

Configuring a global loop detection interval

82

FastIron Ethernet Switch Administration Guide

53-1003075-02