EEM Library Debug Command Extensions

Last Updated: September 06, 2011

cli_debug

Prints a command-line interface (CLI) debug statement to syslog. This Tcl command extension is used to print a CLI debug statement to syslog if the debug event manager tcl cli_library Cisco IOS CLI command is in effect.

Syntax

cli_debug spec_string debug_string

Arguments

spec_string

(Mandatory) The spec_string argument is used to indicate the type of debug statement.

debug_string

(Mandatory) The debug_string argument is used to indicate the debugging text.

Result String

None

Set _cerrno

No

smtp_debug

Prints a a Simple Mail Transfer Protocol (SMTP) debug statement to syslog. This Tcl command extension prints a SMTP debug statement to syslog if the debug event manager tcl smtp_library Cisco IOS command-line interface (CLI) command is in effect.

Syntax

smtp_debug spec_string debug_string

Arguments

spec_string

(Mandatory) The spec_string argument is used to indicate the type of debug statement.

debug_string

(Mandatory) The debug_string argument is used to indicate the debugging text.

Result String

None

Set _cerrno

No