Specifications
Configuring Syslog
March 15, 2011 Page 7 of 13
Syslog Command Precedence
Table 3listsbasicSyslogcommandsandtheirorderofprecedenceonEnteraysswitches.
About Server and Application Severity Levels
Bydefault,clientapplicationswillforwardSyslogmessagesatseveritylevels6through1,and
serverswilllogmessagesatallseveritylevels(8through1).Youcanusetheproceduresdescribed
inthischaptertochange theseparameters,finetuningthescopeofmessageloggingand
modifyingtheSyslogbehavior
betweenoneormoreclientapplicationsandoneormoreservers.
Configuring Syslog Server(s)
UsethefollowingcommandstoconfigureoneormoreserversasdestinationsforSyslogmessages
andverifytheconfiguration:
1. AddaSyslogservertothedevice’sserverlist:
set logging server index ip-addr ip-addr state enable
Indexisavaluefrom1to8thatspecifiestheservertableindexnumberforthisserver.
2. (Optional)Verifytheserverconfiguration:
show logging server [index]
Ifindexisnotspecified,informationforallconfiguredSyslogserverswillbedisplayed.
Table 3 Syslog Command Precedence
Syslog Component Command Function
Logging defaults set logging default
{[facility facility]
[severity severity]
[port port]}
Sets default parameters for facility code, severity level
and/or UDP port for all Syslog servers and local
destinations.
Settings will be applied when Syslog servers are
configured without specifying values with the set
logging server command. This command overrides
factory defaults.
Server settings set logging server
index ip-addr ip-
addr [facility
facility] [severity
severity] [descr
descr] [port port]
state enable |
disable
During or after new server setup, specifies a server
index, IP address, and operational state for a Syslog
server. Optionally, this command specifies a facility
code, severity level at which messages will be accepted,
text string description, and/or UDP port for the specified
server.
This command overrides system defaults for the
specified server. If not specified with this or the set
logging default command, optional server parameters
will be set to the system defaults listed in Table 4 on
page 8.
Application settings set logging
application
{[mnemonic|all]}
[level level]
[servers servers]
Sets the severity level at which one or all applications
will send messages to Syslog servers. If not specified,
settings will apply to all configured servers and severity
level will not be changed from system defaults.