show monitor event-trace

show monitor event-trace

To display event trace messages for Cisco IOS software subsystem components, use the show monitor event-tracecommand in privileged EXEC mode.

show monitor event-trace [all-traces] [component {all back hour:minute clock hour:minute from-boot seconds latest parameters}]

Syntax Description

 

all-traces

(Optional) Displays all event trace messages in memory to the console.

 

 

component

(Optional) 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 in this release, use the monitor event-trace ? command.

 

 

 

 

 

 

all

Displays all event trace messages currently in memory for the specified

 

 

 

component.

 

 

 

 

 

 

back hour:minute

Specifies how far back from the current time you want to view messages.

 

 

 

For example, you can gather messages from the last 30 minutes. The time

 

 

 

argument is specified in hours and minutes format (hh:mm).

 

 

 

 

 

 

clock hour:minute

Displays event trace messages starting from a specific clock time in hours

 

 

 

and minutes format (hh:mm).

 

 

 

 

 

 

from-boot seconds

Displays event trace messages starting from a specified number of seconds

 

 

 

after booting (uptime). To display the uptime, in seconds, enter the

 

 

 

show monitor event-trace component from-boot ? command.

 

 

 

 

 

 

latest

Displays only the event trace messages since the last show monitor

 

 

 

event-tracecommand was entered.

 

 

 

 

 

 

parameters

Displays the trace parameters. The only parameter displayed is the size

 

 

 

(number of trace messages) of the trace file.

 

 

 

 

 

 

 

 

Command Modes

 

Privileged EXEC (#)

 

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

12.0(18)S

This command was introduced.

 

 

 

 

 

 

12.2(8)T

This command was integrated into Cisco IOS Release 12.2(8)T.

 

 

 

 

 

 

12.2(25)S

This command was integrated into Cisco IOS Release 12.2(25)S. The show

 

 

 

monitor event-trace cef comand replaced the show cef events and show ip

 

 

 

cef events commands.

 

 

 

 

 

 

12.2(18)SXE

This command was integrated into Cisco IOS Release 12.2(18)SXE.

 

 

 

The spa component keyword was added to support online insertion and

 

 

 

removal (OIR) event messages for shared port adapters (SPAs).

 

 

 

The bfd keyword was added for the component argument to display trace

 

 

 

messages relating to the Bidirectional Forwarding Detection (BFD) feature.

 

 

 

 

 

 

12.4(4)T

Support for the bfd keyword was added for Cisco IOS Release 12.4(4)T.

 

 

 

 

 

 

12.0(31)S

Support for the bfd keyword was added for Cisco IOS Release 12.0(31)S.

 

 

 

 

 

Cisco IOS Configuration Fundamentals Command Reference

CF-760

July 2008

Page 84
Image 84
Cisco Systems 12000 series manual Show monitor event-trace, CF-760