Specifications
IP Switching Commands
monitor event-trace (EXEC)
ISW-102
Cisco IOS IP Switching Command Reference
May 2008
monitor event-trace (EXEC)
To monitor and control the event trace function for a specified Cisco IOS software subsystem
component, use the monitor event-trace command in privileged EXEC mode.
monitor event-trace component {clear | continuous | disable | dump [pretty] | enable | one-shot}
Cisco 10000 Series Routers
monitor event-trace component {disable | dump | enable | size | stacktrace}
Catalyst 6500 Series Switches and Cisco 7600 Series Routers
monitor event-trace all-traces {continuous [cancel] | dump [merged] [pretty]}
monitor event-trace l3 {clear | continuous [cancel] | disable | dump [pretty] | enable | interface
type mod/port | one-shot}
monitor event-trace spa {clear | continuous [cancel] | disable | dump [pretty] | enable |
one-shot}
monitor event-trace subsys {clear | continuous [cancel] | disable | dump [pretty] | enable |
one-shot}
Syntax Description component Name of the Cisco IOS software subsystem component that is the subject of
the event trace. To get a list of components that support event tracing, use
the monitor event-trace ? command.
clear Clears existing trace messages for the specified component from memory
on the networking device.
continuous Continuously displays the latest event trace entries.
disable Turns off event tracing for the specified component.
dump Writes the event trace results to the file configured using the monitor
event-trace command in global configuration mode. The trace messages
are saved in binary format.
pretty (Optional) Saves the event trace message in ASCII format.
enable Turns on event tracing for the specified component.
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 in global configuration mode.
size Sets the number of messages that can be written to memory for a single
instance of a trace.
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 Enables the stack trace at tracepoints.
all-traces Displays the configured merged-event traces.