beautypg.com

Configuring a global loop detection interval, Clearing loop-detection – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 42

background image

12

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Port loop detection

1

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 such as the following.

Brocade(config)#loop-detection-interval 50

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

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

Brocade(config)#loop-detection-interval 10

OR

Brocade(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 following command The default is 0.

Brocade(config)#loop-detection disable-duration 1440

The above command will cause the Brocade device to automatically re-enable ports that were
disabled for a duration of 24 hours because of a loop detection. This configuration applies to all the
ports that are configured the loop detection (strict or loose).

Syntax: [no] loop-detection disable-duration num

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

Where num is the number of minutes from 0 to 1440. When 0 is specified, it is permanently off.

Clearing loop-detection

To clear loop detection statistics and re-enable all ports that are in disabled state because of a loop
detection, enter the following command.

Brocade #clear loop-detection

Syntax: clear loop-detection [vlan | ethernet] vlanid/port-num

Where port-num enables the specified port.

Where vlan-id enables all the ports disabled by loop detection for this VLAN