Specifications

IP Switching Commands
monitor event-trace (global)
ISW-105
Cisco IOS IP Switching Command Reference
May 2008
monitor event-trace (global)
To configure event tracing for a specified Cisco IOS software subsystem component, use the monitor
event-trace command in global configuration mode.
monitor event-trace component {disable | dump-file filename | enable | size number | stacktrace
number}
Cisco 10000 Series Routers
monitor event-trace component {disable | dump-file filename | enable | clear | continuous |
one-shot}
Syntax Description
Command Default Event tracing is enabled or disabled depending on the software component.
Command Modes Global configuration
component Name of the Cisco IOS software subsystem component that is the object of
the event trace. To get a list of components that support event tracing, use
the monitor event-trace ? command.
disable Turns off event tracing for the specified component.
dump-file filename Specifies the file where event trace messages are written from memory on
the networking device. The maximum length of the filename (path and
filename) is 100 characters and the path can point to flash memory on the
networking device or to a TFTP or FTP server.
enable Turns on event tracing for the specified component provided that the
component has been configured using the monitor event-trace command.
size number Sets the number of messages that can be written to memory for a single
instance of a trace. Valid values are 1 to 65536.
Note Some Cisco IOS software subsystem components set the size by
default. To display the size parameter, use the show monitor
event-trace component parameters command.
When the number of event trace messages in memory exceeds the size, new
messages will begin to overwrite the older messages in the file.
stacktrace number Enables the stack trace at tracepoints and specifies the depth of the stack
trace stored. Valid values are 1 to 16.
clear Clears existing trace messages for the specified component from memory
on the networking device.
continuous Continuously displays the latest event trace entries.
one-shot Clears any existing trace information from memory, starts event tracing
again, and disables the trace when the trace reaches the size specified using
the monitor event-trace command.