A-115
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)E2
AppendixA Command Reference
Online Diagnostics Commands
diag online slot
To enable online diagnostics for a specified slot number, use the diag online slot command. To disable
online diagnostics for a specific slot number, use the no form of this command.
diag online slot slot-number
no diag online slot slot-number
Syntax Description
Defaults Disabled
Command Modes Global configuration
Command History
Usage Guidelines Use this command to enable or disable online diagnostics for a specified slot number. It can be useful to
disable online diagnostics on a particular slot when there is a spuri ous error that causes excessive console
messages.
Examples The following example shows how to enable online diagnostics for a specific slot number.
Switch# configure terminal
Switch(config)# diag online slot 2
The following example shows how to enable online diagnostics on all the slots and then disable online
diagnostics for a specific slot number.
Switch# configure terminal
Switch(config)# diag online
Switch(config)# no diag online slot 10
Related Commands
slot-number Specifies the number of the slot on which to run online diagnostics. The
range is 0 to 11.
Release Modification
12.1(10)EV2 This command was introduced.
Command Description
debug diag online Enables debugging of the online diagnostics.
diag online Enables online diagnostics for the system.
show diag online Displays the configuration and status of the online diagnostics.