debug

To display errors or events for command situations, use the debug command in the EXEC mode.

debug {all | application | backup-restore | cdp | config | icmp | copy | locks | logging | snmp | system | transfer | user | utils}

Syntax Description

debug

The command to identify various failures with the Cisco CDA server.

all

Enables all debugging.

application

Application files.

 • all—Enables all application debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • install—Enables application install debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • operation—Enables application operation debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • uninstall—Enables application uninstall debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

backup-restore

Backs up and restores files.

 • all—Enables all debug output for backup-restore. Set level between 0 and 7, with 0 being severe and 7 being all.

 • backup—Enables backup debug output for backup-restore. Set level between 0 and 7, with 0 being severe and 7 being all.

 • backup-logs—Enables backup-logs debug output for backup-restore. Set level between 0 and 7, with 0 being severe and 7 being all.

 • history—Enables history debug output for backup-restore. Set level between 0 and 7, with 0 being severe and 7 being all.

 • restore—Enables restore debug output for backup-restore. Set level between 0 and 7, with 0 being severe and 7 being all.

cdp

Cisco Discovery Protocol configuration files.

 • all—Enables all Cisco Discovery Protocol configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • config—Enables configuration debug output for Cisco Discovery Protocol. Set level between 0 and 7, with 0 being severe and 7 being all.

 • infra—Enables infrastructure debug output for Cisco Discovery Protocol. Set level between 0 and 7, with 0 being severe and 7 being all.

config

Configuration files.

 • all—Enables all configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • backup—Enables backup configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • clock—Enables clock configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • infra—Enables configuration infrastructure debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • kron—Enables command scheduler configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • network—Enables network configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • repository—Enables repository configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • service—Enables service configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

icmp

Internet Control Message Protocol (ICMP) echo response configuration.

all—Enable all debug output for ICMP echo response configuration. Set level between 0 and 7, with 0 being severe and 7 being all.

copy

Copy commands. Set level between 0 and 7, with 0 being severe and 7 being all.

locks

Resource locking.

 • all—Enables all resource locking debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • file—Enables file locking debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

logging

Logging configuration files.

all—Enables all logging configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

snmp

SNMP configuration files.

all—Enables all SNMP configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

system

System files.

 • all—Enables all system files debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • id—Enables system ID debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • info—Enables system info debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • init—Enables system init debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

transfer

File transfer. Set level between 0 and 7, with 0 being severe and 7 being all.

user

User management.

 • all—Enables all user management debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

 • password-policy—Enables user management debug output for password-policy. Set level between 0 and 7, with 0 being severe and 7 being all.

utils

Utilities configuration files.

all—Enables all utilities configuration debug output. Set level between 0 and 7, with 0 being severe and 7 being all.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

Use the debug command to identify various failures within the Cisco CDA server; for example, setup failures or configuration failures.

Examples

/admin# debug all

/admin# mkdir disk:/1

/admin# 6 [15347]: utils: vsh_root_stubs.c[2742] [admin]: mkdir operation success

 

/admin# rmdir disk:/1

6 [15351]: utils: vsh_root_stubs.c[2601] [admin]: Invoked Remove Directory disk:/1 command

6 [15351]: utils: vsh_root_stubs.c[2663] [admin]: Remove Directory operation success

/admin#

 

/admin# undebug all

/admin#

 

Related Commands

Command

Description

undebug

Disables the output (display of errors or events) of the debug command for various command situations.