HP Comware 5 Debug Manual Vol 2
Default
All types of IRF STM debugging are disabled.
Views
User view
Default command level
1: Monitor level
Parameters
slot slot-number: Specifies an IRF member device by its member ID.
Usage guidelines
This debugging command enables both IRF topology debugging and master election debugging.
Examples
# Enable all types of STM debugging on the IRF fabric. When a subordinate device receives a master
election notification message, output similar to the following example is generated:
<Sysname> debugging stm all
*Apr 26 22:15:19:840 2000 H3C STM/4/ROLE PACKET:Slot=8;Receieved election packet.
Summary: Op:19 Num:4 Ms:0 Len:64 Port:2
Version: V200R002B01D001r
Content is:
000: 00 0f e2 69 3e a6 f4 d8 04 0e 26 98 00 05 27 01 00 0f e2 69 40 26 ff 58
018: 03 4d 98 64 00 04 01 04 00 0f e2 69 5f d6 f3 fc 00 00 00 01 00 04 98 08
030: 00 e0 fc 69 7f 89 00 02 04 0e 26 9e 00 04 27 07
// The member device with member ID 8 received an election packet.
# Enable all types of STM debugging on the IRF fabric. When a member device receives a hello message,
output similar to the following example is generated:
<Sysname> debugging stm all
*Apr 26 18:05:13:152 2000 H3C STM/4/TOPO PACKET:
Receive hello packet on stack port 1
src_addr:000f-e269-4026, dst_addr:0000-0000-0000, op:1, ver:1, src_stk:2, num:3
neighbor info:S5500EI
0: 000f-e269-4026
1: 000f-e269-5fd6
2: 00e0-fc69-7f89.
// STM received a hello packet from IRF-port 1.
debugging stm topology
Use debugging stm topology to enable IRF topology collection debugging.
Use undo debugging stm topology to disable IRF topology collection debugging.
Syntax
debugging stm topology { all | error | event | packet } [ slot slot-number ]
undo debugging stm topology { all | error | event | packet } [ slot slot-number ]
260