Port debug commands – Brocade FastIron SX, FCX, and ICX Diagnostic Reference User Manual

Page 18

Advertising
background image

6

Brocade FastIron SX, FCX, and ICX Diagnostic Reference

53-1003076-02

Layer 1 debug commands

2

Brocade(config-if-e1000-1/1/25)# loop-detection

When there is loop detection activity in the switch, the debug information regarding loop detection
is displayed on the console. The following example shows the output for the debug loop-detect
command when the port goes into a disabled state because of loop detection (strict mode).

insert_disable primary 1/1/25, vlan=4096

Loop-detection: port 1/1/25 (vlan=1), put into errdisable state

Execute the following command to configure loop detection in a VLAN in loose mode.

Configure loop-detection loose mode on port vlan 2 :

Brocade(config-vlan-2)# loop-detection

Brocade(config-vlan-2)# insert_disable primary 1/1/31, vlan=2

The following output is displayed after the configuration.

Loop-detection: port 1/1/31 (vlan=2), put into errdisable state

insert_disable primary 1/1/32, vlan=2

Loop-detection: port 1/1/32 (vlan=2), put into errdisable state

debug loop-detect level

Syntax: [no] debug loop-detect level <decimal>

This command debugs loop detection in a particular level.

Brocade# debug loop-detect level 1

STRICT MODE:

Topology: port 1/1/25 is single port.

Brocade# debug loop-detect level 3

Configure loop-detection on port 1/1/25 :

Brocade(config-if-e1000-1/1/25)# loop-detection

Brocade(config-if-e1000-1/1/25)# Loop-detection: port 1/1/25 (vlan=1), put into

errdisable state

LOOSE MODE:

Topology: port 1/1/31 is connected to 1/1/32 in same vlan.

Configure loop-detection on port vlan 2 :

Brocade(config-vlan-2)# loop-detection

Brocade(config-vlan-2)# Loop-detection: port 1/1/31 (vlan=2), put into errdisable

state

Loop-detection: port 1/1/32 (vlan=2), put into errdisable state

Port debug commands

The following commands deal with the debugging of port activity.

debug port hw-state

Syntax: [no] debug port hw-state

This command monitors the hardware status of a port. This helps to enable or disable port
debugging in the hardware state.

Brocade# debug port hw-state

Topology: Port 1/1/31 is connected to port 1/1/32.

Advertising