Troubleshooting

Debug/Syslog Operation

A Debug/Syslog destination device can be a Syslog server and/or a console session. You can configure debug and logging messages to be sent to:

Up to six Syslog servers

A CLI session through a direct RS-232 console connection, or a Telnet or SSH session

Debug/Syslog Configuration Commands

Event

Automatically sends switch-level event messages to the switch’s Event Log. Debug and

Notification

 

Syslog do not affect this operation, but add the capability of directing Event Log

Logging

 

messaging to an external device.

 

 

 

logging

<syslog-ip-addr>

Enables Syslog messaging to be sent to the specified IP address.

Command

 

 

 

facility

(Optional) The logging facility command specifies the destination (facility) subsystem

 

 

used on a Syslog server for debug reports.

 

severity

Sends Event Log messages of equal or greater severity than the specified value to

 

 

configured debug destinations. (The default setting is to send Event Log messages from

 

 

all severity levels.)

 

system-module

Sends Event Log messages from the specified system module to configured debug

 

 

destinations. The severity filter is also applied to the system-module messages you select.

 

 

The default setting is to send Event Log messages from all system modules. To restore

 

 

the default setting, enter the no logging system-module<system-module> or logging

 

 

system-module all-pass commands.

debug

all

Sends debug logging to configured debug destinations for all Event Log, IP-OSPF, and IP-

Command

 

RIP options.

 

destination

logging: Disables or re-enables Syslog logging on one or more Syslog servers configured

 

 

with the logging < syslog-ip-addr> command. See “Debug Destinations” on page C-47.

 

 

session: Assigns or re-assigns destination status to the terminal device that was most

 

 

recently used to request debug output. “Debug Destinations” on page C-47.

 

 

buffer: Enables Syslog logging to send the debug message types specified by the debug

 

 

< debug-type > command to a buffer in switch memory. See “Debug Destinations” on

 

 

page C-47.

 

event

Sends standard Event Log messages to configured debug destinations. (The same

 

 

messages are also sent to the switch’s Event Log, regardless of whether you enable this

 

 

option.)

 

ip

forwarding: Sends IPv4 forwarding messages to the debug destination(s).

 

 

packet: Sends IPv4 packet messages to the debug destination(s).

C-38