Operation Manual

System Log Commands
Mobility System Software Command Reference Guide
Version 7.3
24 – 522
Syntax
show log trace [{+|-|/}number-of-messages] [facility facility-name]
[matching string] [severity severity-level]
Defaults
None.
Access
Enabled.
History
Examples
Type the following command to see the facilities for which you can view event messages
archived in the buffer:
MX# show log trace facility ?
<facility name> Select one of: KERNEL, AAA, SYSLOGD, ACL, APM, ARP, ASO, BOOT,
CLI, CLUSTER, 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, MP, RAPDA, WEBVIEW, EAP, PORTCONFIG, FP.
The following command displays the newest five trace log entries for the ROGUE facility:
MX# show log trace +5 facility ROGUE
ROGUE Oct 28 16:30:19.695141 ERROR ROGUE_AP_ALERT: Xmtr Mac 01:0b:0e:ff:00:3b Po
rt 7 Radio 1 Chan 36 RSSI 18 Tech DOT_11A SSID trapeze
ROGUE Oct 28 16:30:19.7046
37 ERROR ROGUE_AP_ALERT: Xmtr Mac 01:0b:0e:00:09:5f Port 7 Radio 1 Chan 36 RSSI
15 Tech DOT_11A SSID examplewlan
ROGUE Oct 28 16:30:19.711253 ERROR ROGUE_AP_ALER
T: Xmtr Mac 01:0b:0e:00:06:b7 Port 7 Radio 1 Chan 36 RSSI 36 Tech DOT_11A SSID wlan-7
ROGUE Oct 28 16:30:19.717954 ERROR ROGUE_AP_ALERT: Xmtr Mac 00:0b:0e:00:0
6:8f Port 7 Radio 1 Chan 36 RSSI 13 Tech DOT_11A SSID trapeze
ROGUE Oct 28 16:30:
19.727069 ERROR ROGUE_AP_ALERT: Xmtr Mac 01:0b:0e:da:da:dd Port 7 Radio 1 Chan 3
trace Displays the log messages in the trace buffer.
+|-|/
number-of-messages
Displays the number of messages specified as follows:
A positive number (for example, +100), displays that number of log entries
starting from the oldest in the log.
A negative number (for example, -100) displays that number of log entries
starting from newest in the log.
A number preceded by a slash (for example, /100) displays that number of the
most recent log entries in the log, starting with the least recent.
facility facility-name Area of MSS that is sending the log message. Type a space and a question mark
(?) after show log trace facility for a list of valid facilities.
matching string Displays messages that match a string—for example, a username or IP address.
severity
severity-level
Displays messages at a severity level greater than or equal to the level specified.
Specify one of the following:
emergency—The MX switch is unusable.
alert—Action must be taken immediately.
critical—You must resolve the critical conditions. If the conditions are not
resolved, the MX can reboot or shut down.
error—The MX is missing data or is unable to form a connection.
warning—A possible problem exists.
notice—Events that potentially can cause system problems have occurred.
These are logged for diagnostic purposes. No action is required.
info—Informational messages only. No problem exists.
debug—Output from debugging.
Version 1.0 Command introduced
Version 5.0 Option COPP removed. The option is not applicable to MSS Version 5.0.