Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-400
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set logging server
set logging server
To enable and disable system message logging to configured syslog servers and to add a syslog server
to the system logging server table, use the set logging server command.
set logging server {enable | disable}
set logging server ip_addr
set logging server facility severity
set logging server severity severity
set logging server facility
Syntax Description
Defaults The default is no syslog servers are configured to receive system messages.
Command Types Switch command.
Command Modes Privileged.
enable Enables system message logging to configured syslog servers.
disable Disables system message logging to configured syslog servers.
ip_addr IP address of the syslog server to be added to the configuration.
facility Type of system messages to capture; server facility types are listed in Table 2-16.
severity Severity level; severity level definitions are listed in Table 2-15.
severity
severity
Sets the syslog maximum severity control globally for all message types; severity
level definitions are listed in Table 2-15.
Table 2-16 Server Facility Types
Severity Level Description
local 0 Server facility local 0
local 1 Server facility local 1
local 2 Server facility local 2
local 3 Server facility local 3
local 4 Server facility local 4
local 5 Server facility local 5
local 6 Server facility local 6
local 7 Server facility local 7
syslog syslog facility