beautypg.com

3 debug spanning-tree bpdu transmit, 4 debug spanning-tree bpdu receive, At8904m utility commands – Kontron AT8904 CLI User Manual

Page 247

background image

AT8904M

Utility Commands

Page 5 - 47

AT8904M CLI Reference Manual

5.11.3

debug spanning-tree bpdu transmit

This command enables tracing of spanning tree BPDUs transmitted by the switch.
Spanning tree should be enabled on the device and on the interface in order to monitor
packets on a particular interface.

Default

disabled

Format

debug spanning-tree bpdu transmit

Mode

Privileged EXEC

A sample output of the trace message is shown below.

<15> JAN 01 01:02:04 192.168.17.29-1 DOT1S[191096896]:
dot1s_debug.c(1249) 101 % Pkt TX - Intf: 1/0/7(7), Source_Mac:
00:11:88:4e:c2:00 Version: 3, Root_Mac: 00:11:88:4e:c2:00,
Root_Priority: 0x8000 Path_Cost: 0

The following parameters are displayed in the trace message:

TX

A packet transmitted by the device.

Intf

The interface that the packet went out on. Format used is

port/slot (internal interface number).

Source_Mac

Source MAC address of the packet.

Version

Spanning tree protocol version (0-3). 0 refers to STP, 2

RSTP and 3 MSTP.

Root_Mac

MAC address of the CIST root bridge.

Root_Priority

Priority of the CIST root bridge. The value is between 0

and 61440. It is displayed in hex in multiples of 4096.

Path_Cost

External root path cost component of the BPDU.

5.11.3.1

no debug spanning-tree bpdu transmit

This command disables tracing of transmitted spanning tree BPDUs.

Format

no debug spanning-tree bpdu transmit

Mode

Privileged EXEC

5.11.4

debug spanning-tree bpdu receive

This command enables tracing of spanning tree BPDUs received by the switch.
Spanning tree should be enabled on the device and on the interface in order to monitor
packets for a particular interface.

Default

disabled

Format

debug spanning-tree bpdu receive

Mode

Privileged EXEC

A sample output of the trace message is shown below.

<15> JAN 01 01:02:04 192.168.17.29-1 DOT1S[191096896]:
dot1s_debug.c(1249) 101 % Pkt RX - Intf: 1/0/9(9), Source_Mac:
00:11:88:4e:c2:10 Version: 3, Root Mac: 00:11:88:4e:c2:00, Root
Priority: 0x8000 Path Cost: 0

The following parameters are displayed in the trace message: