Clearing loop-detection, Displaying loop-detection information – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 79

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

45

53-1003053-01

Configuring basic port parameters

Syntax: [no] errdisable recovery interval <seconds>

where <seconds> is a number from 10 to 65535.

Clearing loop-detection

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

TurboIron#clear loop-detection

Displaying loop-detection information

Use the show loop-detection status command to display loop detection status, as shown.

TurboIron#show loop-detection status

loop detection packets interval: 10 (unit 0.1 sec)

Number of err-disabled ports: 3

You can re-enable err-disable ports one by one by "disable" then "enable"

under interface config, re-enable all by "clear loop-detect", or

configure "errdisable recovery cause loop-detection" for automatic recovery

index port/vlan status #errdis sent-pkts recv-pkts

1

13 untag, LEARNING 0 0 0

2

15 untag, BLOCKING 0 0 0

3

17 untag, DISABLED 0 0 0

4

18 ERR-DISABLE by itself 1 6 1

5

19 ERR-DISABLE by vlan 12 0 0 0

6 vlan12 2 ERR-DISABLE ports 2 24 2

If a port is errdisabled in Strict mode, it shows “ERR-DISABLE by itself”. If it is errdisabled due to its
associated vlan, it shows “ERR-DISABLE by vlan ?”

The following command displays the current disabled ports, including the cause and the time.

TurboIron#show loop-detection disable

Number of err-disabled ports: 3

You can re-enable err-disable ports one by one by "disable" then "enable"

under interface config, re-enable all by "clear loop-detect", or

configure "errdisable recovery cause loop-detection" for automatic recovery

index port caused-by disabled-time

1

18 itself 00:13:30

2

19 vlan 12 00:13:30

3

20 vlan 12 00:13:30

This example shows the disabled ports, the cause, and the time the port was disabled. If
loop-detection is configured on a physical port, the disable cause will show “itself”. For VLANs
configured for loop-detection, the cause will be a VLAN.

The following command shows the hardware and software resources being used by the
loop-detection feature.

Vlans configured loop-detection use 1 HW MAC

Vlans not configured but use HW MAC: 1 10

alloc in-use avail get-fail limit get-mem size init

configuration pool 16 6 10 0 3712 6 15 16

linklist pool 16 10 6 0 3712 10 16 16

Advertising