Management and Configuration Guide K/KA/KB.15.15

sent to the syslog servers if they are currently enabled as debug types. (See "Debug
Messages" on page A-47.)
Removes all currently configured syslog logging
destinations from the running configuration.
no logging
Using this form of the command to delete the only
remaining syslog server address disables debug
destination logging on the switch, but the default
Event debug type does not change.
Removes only the specified syslog logging
destination from the running configuration.
no logging syslog-ip-address
Removing all configured syslog destinations with
the no logging command (or a specified syslog
server destination with the no logging
syslog-ip-address command) does not
delete the syslog server IP addresses stored in the
startup configuration.
Deleting syslog addresses in the startup configuration
Enter a no logging command followed by the write memory command.
Verifing the deletion of a syslog server address
Display the startup configuration by entering the show config command.
Blocking the messages sent to configured syslog servers from the currently configured debug message
type
Enter the no debug debug-type command.
Disabling syslog logging on the switch without deleting configured server addresses
Enter the no debug destination logging command. Note that, unlike the case in which
no syslog servers are configured, if one or more syslog servers are already configured and syslog
messaging is disabled, configuring a new server address does not re-enable syslog messaging.
To re-enable syslog messaging, you must enter the debug destination logging command.
Sending logging messages using TCP
Syntax
[ no ] logging ip-addr [ udp 1024-49151 | tcp 1024-49151 ]
Allows the configuration of the UDP or TCP transport protocol for the transmission
of logging messages to a syslog server.
Specifying a destination port with UDP or TCP is optional.
Default ports: UDP port is 514
TCP port is 1470
Default Transport Protocol: UDP
Because TCP is a connection-oriented protocol, a connection must be present before
the logging information is sent. This helps ensure that the logging message will
reach the syslog server. Each configured syslog server needs its own connection.
You can configure the destination port that is used for the transmission of the logging
messages.
416 Troubleshooting