beautypg.com

Brocade FastIron SX, FCX, and ICX Diagnostic Reference User Manual

Page 22

background image

10

Brocade FastIron SX, FCX, and ICX Diagnostic Reference

53-1003076-02

Layer 1 debug commands

2

debug port up-down

Syntax: [no] debug port up-down decimal

This command monitors the status of the ports. The port status up, down, and up/down are
indicated by 1, 2, and 3 respectively. The decimal variable refers to the status of the port.

Brocade# debug port up-down 1

Monitor port up

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

The debug port up-down command disables or enables a port to get output information of the
specified port.

If port 1/1/31 is disabled, an output similar to the following is displayed.

Brocade(config)# interface ethernet 1/1/31

Brocade(config-if-e1000-1/1/31)# disable

port_down_indication. port=1/1/31, UNTAG, vlan-idx=1

stack: 4040 2050A970 2050AA44 2060A8FC 20608BEC 2060B5A4 20576A90 20576C74

2057707C 202A50A8 20491E9C 20492DC0 204906D8 2050BF48 204A03C8 204A0418 2011BBC8

20047698 2011CF7C 5008

Brocade(config-if-e1000-1/1/31)# port_down_indication. port=1/1/32, UNTAG,

vlan-idx=3

stack: 4040 2050A970 2050AA44 2060A8FC 20608DA0 20609344 20609AFC 2055FA50

2050A214 200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524

pp_link_change_final. port=1/1/32, up=0

If port 1/1/31 is enabled, an output similar to the following is displayed.

Brocade(config-if-e1000-1/1/31)# enable

Brocade(config-if-e1000-1/1/31)# pp_link_change_final. port=1/1/31, up=1

port_up_indication. port=1/1/31, UNTAG, vlan-idx=1

stack: 4040 2050A970 2050AA44 2060A2C8 20609520 20609AFC 2055FA50 2050A214

200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524

pp_link_change_final. port=1/1/32, up=1

port_up_indication. port=1/1/32, UNTAG, vlan-idx=3

stack: 4040 2050A970 2050AA44 2060A2C8 20609520 20609AFC 2055FA50 2050A214

200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524

debug port vlan

Syntax: [no] debug port vlan decimal

This command monitors a specific VLAN and is used with the debug port up-down and debug port
commands. The decimal variable refers to the number of the VLAN.

Brocade# debug port vlan 1

monitor vlan 1

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

Brocade# debug port vlan 2

monitor vlan 2

Brocade# debug port up-down

up-down monitor port up/down event. 1: up, 2: down, 3: up/down

Brocade# debug port up-down 3

Monitor both port up and down