584Appendix A: Troubleshooting a WS Switch

About Trace Results

The trace commands use the underlying logging mechanism to deliver trace messages. Trace messages are generated with the debug severity level. By default, the only log target that receives debug-level messages is the volatile trace buffer. (To see the contents of the trace buffer, see “Displaying Trace Results” on page 584.)

The volatile trace buffer receives messages for all log severities when any trace area is active. However, if no trace area is active, no messages are sent to the trace buffer regardless of their severity. If you do not enable trace commands, the trace buffer is effectively disabled.

Because traces use the logging facility, any other logging target can be used to capture trace messages if its severity is set to debug. However, since tracing can be voluminous, Nortel discourages this in practice. To enable trace output to the console, enter the command set log console severity debug.

If you attempt to send trace output to a Telnet session, be aware that tracing is disabled for areas processing packets that might be associated with the Telnet session.

Displaying Trace Results

To view the output of currently running trace commands, use the following command:

show log trace [{+-/}number-of-messages] [facility facility-name] [matching string] [severity severity-level]

For example, the following command displays a trace log of error-level events:

23x0# show log trace severity error

KERNELJan1523:08:10ERRORduplicateIPaddress10.7.122.102sentfromlink address 00:05:5d:45:ae:cd

To display a specific number of trace log messages, you must enter a plus sign (+), minus sign (-), or slash (/) before the number. These characters filter the messages displayed as follows:

+number-of-messagesDisplays the specified number of log entries, starting with the oldest in the log.

-number-of-messagesDisplays the specified number of entries, starting with the newest in the log.

/number-of-messagesDisplays the specified number of the most recent entries in the log, starting with the least recent.

To filter trace output by WSS Software area, use the facility facility-namekeyword. For a list of valid facilities for which you can view event messages, type the following command:

23x0# show log trace facility ?

<facility name> Select one of: KERNEL, AAA, SYSLOGD, ACL, APM,

ARP,ASO,BOOT,CLI,CLUSTER,COPP,CRYPTO,DOT1X,ENCAP,ETHERNET,GATEWAY, HTTPD, IGMP, IP, MISC, NOSE, NP, RAND, RESOLV, RIB, ROAM, ROGUE, SM, SNMPD, SPAN,STORE,SYS,TAGMGR,TBRIDGE,TCPSSL,TELNET,TFTP,TLS,TUNNEL,VLAN, X509, XML, AP, RAPDA, WEBVIEW, EAP, PORTCONFIG, FP.

320657-A

Page 584
Image 584
Nortel Networks 2300 manual About Trace Results, Displaying Trace Results, 23x0# show log trace severity error