Reset Search
 

 

Article

EOS Modular Switch Syslog Show Logging buffer Blank, or Not Presenting Entire Log

« Go Back

Information

 
TitleEOS Modular Switch Syslog Show Logging buffer Blank, or Not Presenting Entire Log
Symptoms
S series logging buffer contained fewer messages than was expected when compared to the messages sent to a syslog server.
Environment
  • S series
  • K series
  • Firmware 8.31.01.0006
  • Syslog
Cause
The discrepancy is caused by a mismatch between the Default severity setting and that of the server.
The default severity is set to 6 where as the server is set to seven.  The default value of 6 will give notification level messages and the severity 7 will give informational level messages.

Below is the configuration in question.


# logging
set logging default severity 6
set logging server 1 ip-addr 10.0.0.1 severity 7 state enable
set logging server 2 ip-addr 10.0.0.2 severity 7 state disable
set logging application RtrAcl level 7
set logging application CLI level 7
set logging application SNMP level 7
set logging application Webview level 7
set logging application System level 7
set logging application RtrFe level 7
set logging application Trace level 7
set logging application RtrLSNat level 7
set logging application FlowLimt level 7
set logging application UPN level 7
set logging application AAA level 7
set logging application Router level 7
set logging application AddrNtfy level 7
set logging application OSPF level 7
set logging application VRRP level 7
set logging application RtrArpProc level 7
set logging application LACP level 7
set logging application RtrNat level 7
set logging application RtrTwcb level 7
set logging application DbgIpPkt level 7
set logging application HostDoS level 7
set logging application RtrMcast level 7
set logging application PIM level 7
set logging application DVMRP level 7
set logging application BGP level 7
set logging application LinkFlap level 7
set logging application Spoof level 7
set logging application IPmcast level 7
set logging application Spantree level 7
set logging application Trackobj level 7
set logging application LinkTrap level 7
set logging application CDP level 7
set logging application LLDP level 7
set logging application CiscoDP level 7
set logging application OAM level 7
set logging application Security level 7
set logging application RMON level 7
set logging application IPsec level 7
set logging application Bonding level 7
set logging application HAUpgrade level 7
set logging local console enable file enable sfile disable

show logging all
        Application   Current Severity Level Server List
----------------------------------------------------------
  88     RtrAcl                   7     1-8,console,file
  89     CLI                      7     1-8,console,file
  90     SNMP                     7     1-8,console,file
  91     Webview                  7     1-8,console,file
  93     System                   7     1-8,console,file
  95     RtrFe                    7     1-8,console,file
  96     Trace                    7     1-8,console,file
 105     RtrLSNat                 7     1-8,console,file
 111     FlowLimt                 7     1-8,console,file
 112     UPN                      7     1-8,console,file
 117     AAA                      7     1-8,console,file
 118     Router                   7     1-8,console,file
 140     AddrNtfy                 7     1-8,console,file
 141     OSPF                     7     1-8,console,file
 142     VRRP                     7     1-8,console,file
 145     RtrArpProc               7     1-8,console,file
 147     LACP                     7     1-8,console,file
 148     RtrNat                   7     1-8,console,file
 151     RtrTwcb                  7     1-8,console,file
 154     DbgIpPkt                 7     1-8,console,file
 158     HostDoS                  7     1-8,console,file
 169     DHCP                     6     1-8,console,file
 180     RtrMcast                 7     1-8,console,file
 183     PIM                      7     1-8,console,file
 184     DVMRP                    7     1-8,console,file
 185     BGP                      7     1-8,console,file
 196     LinkFlap                 7     1-8,console,file
 199     Spoof                    7     1-8,console,file
 207     IPmcast                  7     1-8,console,file
 209     Spantree                 7     1-8,console,file
 211     Trackobj                 7     1-8,console,file
 213     LinkTrap                 7     1-8,console,file
 214     CDP                      7     1-8,console,file
 215     LLDP                     7     1-8,console,file
 216     CiscoDP                  7     1-8,console,file
 218     OAM                      7     1-8,console,file
 222     Security                 7     1-8,console,file
 225     RMON                     7     1-8,console,file
 226     CFM                      6     1-8,console,file
 231     IPsec                    7     1-8,console,file
 232     Linkstate                6     1-8,console,file
 235     MVRP                     6     1-8,console,file
 237     SPB                      6     1-8,console,file
 239     Bonding                  7     1-8,console,file
 242     HAUpgrade                7     1-8,console,file
 245     DCB                      6     1-8,console,file
 246     IPsla                    6     1-8,console,file
 253     PKI                      6     1-8,console,file
 257     AntiSpoof                6     1-8,console,file
 260     AutoTrack                6     1-8,console,file
 271     Sensor                   6     1-8,console,file

1(emergencies)    2(alerts)    3(critical)
4(errors)    5(warnings)    6(notifications)
7(information)    8(debugging)
Server Index: 1
   IP Address: 10.0.0.1                                                     
   Facility: local4
   Severity: information(7)    
   Description: default                                                        
   Port: 514
   Status: enabled

Defaults:          local4 notifications(6)                     514
Syslog Console Logging enabled
Syslog File Logging enabled
Syslog Secure File Logging disabled
Syslog hostname: Default
Resolution
Set the default logging value at the level desired to be reported.  In this case set the default severity to 7.
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255