Enable boot diagnostics in XOS -- HOWTO

book

Article ID: 167800

calendar_today

Updated On:

Products

XOS

Issue/Introduction

Hardware diagnostics can be performed at boot time on the NPM/APM/CPM boards if enabled.N/A

Cause

Hardware diagnostics can be performed on the NPM/APM/CPM boards if enabled.

If you wish to generate the diagnostics at boot time, make sure the diagnostics are enabled, schedule a window, failover to the other chassis (if DBHA) and reload all (if diags are enabled on all modules). This will log all the diagnostics data to the messages file.

If it is required to enable boot diagnostics on slot(s), there are various ways of achieving this.

Resolution

If instructed by Blue Coat technical support to enable boot diagnostics, use the command
/crossbeam/bin/bootdiagtool

(These examples assume a 14 slot chassis. Change as appropriate)

To display current status of diagnostic settings:
/crossbeam/bin/bootdiagtool --slots=1:14

To enable diagnostics on all slots:
/crossbeam/bin/bootdiagtool --slots=1:14 --on

To disable diagnostics on all slots:
/crossbeam/bin/bootdiagtool --slots=1:14 --off

To enable diagnostics on, for example, slots 8 & 9 only:
/crossbeam/bin/bootdiagtool --slots=8:9 --on

To disable diagnostics on, for example, slot 8 only:
/crossbeam/bin/bootdiagtool --slots=8:8 --off

To display all usage options:
/crossbeam/bin/bootdiagtool --help

This produces:
bootdiagtool: remotely enable/disable diag test on boot
 
With no option, it displays diag setting on CPM slot
 
Usage: bootdiagtool [<options>]

options:
--slots=x:y slot x to y, default to CPM slot
--on/--off enable/disable diag test on boot
--version Display long version of this program and exit
-h Print one liner usage and exit
--help Print this help message and exit

 

Workaround

N/A