Specifications

Configuring Syslog
March 15, 2011 Page 9 of 13
Examples
Thisexampleshowshowtoconfiguretheswitchtoforwardmessagesfromfacilitycategorylocal6
atseveritylevels3,2,and1toSyslogserver1atIPaddress134.141.89.113:
Switch1(rw)->set logging server 1 ip-addr 134.141.89.113 facility local6 severity
3
ThisexampleshowshowtochangeSyslogdefaultssothatmessagesfromthelocal2facility
categoryataseveritylevelof4willbeforwardedtoallservers.Thesesettingswillapplytoall
newlyconfiguredservers,unlessexplicitlyconfiguredwiththesetloggingservercommand:
Switch1(rw)->set logging default facility local2 severity 4
Reviewing and Configuring Logging for Applications
Bydefault,allapplicationsrunningonEnterasysswitchdevicesareallowedtoforwardmessages
atseveritylevels6through1toallconfigureddestinations(Syslogservers,theconsole,orthefile
system).
Displaying Current Application Severity Levels
Todisplayloggingseveritylevelsforoneorallapplicationscurrentlyrunningonyourdevice:
show logging application {mnemonic|all}
Example
Thisexampleshowsoutputfromtheshowloggingapplicationallcommand.Anumericand
mnemonicvalueforeachappl icationislistedwiththeseveritylevelatwhichlogginghasbeen
configuredandtheserver(s)towhichmessageswillbesent.Inthiscase,loggingforapplications
hasnotbeenchangedfrom
thedefaultseveritylevelof6.Thismeansthatnotificationsand
messageswithseverityvalues6through1willbesenttoconfiguredservers.
Switch1(rw)->show logging application all
Application Current Severity Level Server List
----------------------------------------------------------
88 RtrAcl 6 1-8
89 CLI 6 1-8
90 SNMP 6 1-8
91 Webview 6 1-8
93 System 6 1-8
95 RtrFe 6 1-8
96 Trace 6 1-8
105 RtrLSNat 6 1-8
111 FlowLimt 6 1-8
112 UPN 6 1-8
117 AAA 6 1-8
118 Router 6 1-8
140 AddrNtfy 6 1-8
141 OSPF 6 1-8
142 VRRP 6 1-8
145 RtrArpProc 6 1-8
147 LACP 6 1-8
148 RtrNat 6 1-8
151 RtrTwcb 6 1-8
158 HostDoS 6 1-8
1(emergencies) 2(alerts) 3(critical)