Cisco Systems Cisco MGX 8850 Switch User Manual


 
6-68
Cisco MGX 8850 Multiservice Switch Installation and Configuration
Release 1.1.31, Part Number 78-11223-03 Rev. B0, May 2005
Chapter 6 Card and Service Configuration
Online Diagnostics Test
If a failure occurs, a message is also added to the shelf event log.
Commands to Operate the Online Diagnostics
The following commands are used to operate the Online Diagnostics:
oldiags <debug_level> <switch_enable>
This command runs the diagnostics on both the active PXM1 and the standby PXM1 (if available). Two
options are available for this command. If the command is entered without specifying any options, the
default values are automatically used. If options are used, they must be entered in the order shown:
<debug_level> This option determines the amount of information to be displayed on the screen.
This detail is shown on the screen only. Log files contain a standard set of information and are not
affected by this option.
debug_level is a value between 0 and 3.
0 (the default) displays the least amount of detail.
3 displays the most detail.
<switch_enable> enables or disables automatic switchover to the standby PXM1.
0 (the default) disables automatic switchover.
1 enables automatic switchover.
oldiags-help or oldiags help
These help commands display a description of the oldiags command and options.
oldclrlock
oldclrlock clears the lock of a previous oldiags process.
If an oldiags process is stopped while running (either from a keyboard command or unexpected process
shutdown), the command will be locked and cannot be run again until the lock is cleared. The oldclrlock
command clears this lock.
Note Do not enter oldclrlock while another instance of oldiags is running on the shelf.
oldsplog <log_name>
The oldsplog command displays the log files that are automatically created each time a diagnostic test
is performed. Log files are named onlinediag.MONTHDAY_hh:mm. The files are saved in C:DIAG.
If oldsplog is run without a variable, the most recent log file will be displayed by default.
The log_name variable is used to view an older file or a file that resides in a directory other than
C:DIAG. If the file to be viewed is saved in C:DIAG, only the name of the file needs to be entered. A
full path name can also be used if the file resides outside the default directory.
oldsplog can be run from either the active or standby PXM1. Log files are saved on each individual
PXM1 and must be viewed separately.