Example. Suppose that you want to:
■
Configure Syslog logging of ACL and IP-OSPF packet messages on a
Syslog server at 18.38.64.164 (with user as the default logging facility).
Also display these messages in the CLI session of your terminal device's
■
management access to the switch.
Prevent the Switch's standard Event Log messages from going to the
■
Syslog server and the CLI.
Assuming the debug/Syslog feature is disabled on the switch, you would use
the commands shown in figure C-17 to configure the above operation.
Figure C-17.Example Debug/Syslog Configuration for Multiple Types and
Destinations
Troubleshooting
Debug and Syslog Messaging Operation
Configure a Syslog server
IP. (Assumes no other
Syslog server IP in
configuration.) This is an
active debug destination
for any configured debug
types.
Display resulting
configuration.
Remove unwanted event
message logging to
debug destinations.
Configure the debug
types you want sent to
the Syslog server and the
CLI session.
Configure the CLI session
as a debug destination.
Show the complete
debug/Syslog
configuration.
C-43