772 Appendix A:Troubleshooting a WSS
NN47250-500 (Version 03.01)

Logging to the log buffer

The system log consists of rolling entries stored as a last-in first-out queue maintained by the WSS. Logging to the
buffer is enabled by default for events at the error level and higher.
To modify settings to another severity level, use the following command:
set log buffer severity severity-level
For example, to set logging to the buffer for events at the warning level and higher, type the following command:
WSS# set log buffer severity warning
success: change accepted.
To view log entries in the system log buffer, use the following command:
show log buffer [{+|-} number-of-messages] [facility facility-name] [matching string] [severity
severity-level]
You can display the most recent messages or the oldest messages:
Type a positive number (for example, +100) to display that number of log entries starting from the oldest in the log.
• Type a negative number (for example, -100) to display that number of log entries starting from the newest in the log.
You can search for strings by using the keyword matching and typing any string, such as a username or IP address.
You can display event information at a particular severity level. (See Table 48 on page 771 for information on severity
levels.)
For example, the following command displays all messages at the error severity level or higher:
WSS# show log buffer severity error
SYS Jun 02 17:41:35. 176 214 ERROR nos_vms_port?add: Failed to set default vl an v1 an:4096
for port 3 rc 1
To filter the event log by WSS Software area, use the facility facility-name keyword. For a list of facilities for which you
can view event messages, type the following command:
WSS# show log buffer facility ?
<facility name> Select one of: KERNEL, AAA, SYSLOGD, ACL, APM, ARP, ASO,
BOOT, CLI, CLUSTER, CRYPTO, DOT1X, NET, 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, FP, STAT, SSHD, SUP, DNSD,
CONFIG, BACKUP.
To clear the buffer, type the following command:
WSS# clear log buffer
To disable logging to the system buffer, type the following command:
WSS# set log buffer disable