Setting Trace Levels

Enabling Tracing

Tracing is disabled by default. To set a trace level for the purpose of debugging or troubleshooting, perform the following steps:

1.Enter global-configuration mode.

HB-IB> enable HB-IB configure HB-IB(config)

2.View the trace help output, as the number of applications and modules may have changed.

HP-IB(config)# trace app ? app <1-25>

app numbers: APP_ID_CLI = 1 APP_ID_OSPF = 2 APP_ID_RIP = 3 APP_ID_IP_AGENT = 22 APP_ID_FIB_AGENT = 23 APP_ID_KERNEL = 24 APP_ID_CARD_AGENT = 25 APP_ID_SM = 26

3.Set the application value, the module value, the trace level, the flowmask, and the card number on which you want to run a trace.

Refer to “About Logging and Tracing” (page 125).

HP-IB(config)# trace app 4 module 36 level very-verbose flowmask 0x12 card 2

Disabling Tracing

Tracing is disabled by default. To set a trace level for the purpose of debugging or troubleshooting, perform the following steps:

1.Enter global-configuration mode.

HP-IB> enable HP-IB configure HP-IB(config)

2.Set the application value, the module value, the trace level, the flowmask, and the card number on which you want to run a trace. The trace level should be set to no display to disable tracing.

Refer to “About Logging and Tracing” (page 125).

HP-IB(config) trace app 4 module 36 level no display flowmask 0x12 card 2

Verify Link Speed

Use the show interface command to verify the link speed. As in the example below, the oper-speedmust be 10gbps.

HP> show interface ib 1

================================================================================

InfiniBand Interface Information

================================================================================

port : 1

name : 1

type : ib4xTX

desc : 1 (65)

last-change : none

Monitoring and Troubleshooting the Switch 127

Page 127
Image 127
HP UX 11i v2 Networking Software manual Setting Trace Levels, Enabling Tracing, Disabling Tracing, Verify Link Speed