580Appendix A: Troubleshooting a WS Switch

Use the IP address of the syslog server to which you want messages sent. (See Table 38 on page 576 for infor- mation about severity levels.)

Use the optional local-facilitykeyword to override the default WSS Software facility numbers and replace them with one local facility number. Use the numbers 0 through 7 to map WSS Software event messages to one of the standard local log facilities local0 through local7 specified by RFC 3164.

If you do not specify a local facility, WSS Software sends the messages with their default WSS Software facil- ities. For example, AAA messages are sent with facility 4 and boot messages are sent with facility 20 by default.

For example, the following command sends all error-level event messages generated by an WSS to a server at IP address 192.168.153.09 and identifies them as facility 5 messages:

23x0# set log server 192.168.153.09 severity error local-facility 5

success: change accepted.

To stop sending log messages to a syslog server, use the following command:

clear log server ip-addr

To disable logging to the server, use the following command:

set log server ip-addrdisable

Setting Telnet Session Defaults

Session logging is disabled by default, and the event level is set to information (info) or higher. To enable event logging to Telnet sessions and change the default event severity level, use the following command:

set log sessions severity severity-levelenable

(For information on severity levels, see Table 38 on page 576.)

To disable session logging, use the following command:

set log sessions disable

Changing the Current Telnet Session Defaults

By default, log information is not sent to your current Telnet session, and the log level is set to information (info) or higher. To modify the severity of events logged to your current Telnet session, use the following command from within the session:

set log current severity severity-level

(For information about severity levels, see Table 38 on page 576.)

To enable current session logging, type the following command:

23x0# set log current enable

success: change accepted

320657-A

Page 580
Image 580
Nortel Networks 2300 manual Setting Telnet Session Defaults, Changing the Current Telnet Session Defaults