cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
349
Views
0
Helpful
1
Replies

switch logs not transfer on syslog server

ddesai
Level 1
Level 1

I have configured for following commands for logs transfer but no luck.

I can ping on syslog server other switch logs transfer successfully but few switches I am facing isuse.

logging buffered 6000 informational
logging reload debugging
logging console critical
logging monitor critical
epm logging
no device-tracking logging theft
hw-switch switch 1 logging onboard message
hw-switch switch 2 logging onboard message
logging history informational
logging origin-id ip
logging source-interface GigabitEthernet0
logging host x.x.x.x sequence-num-session
logging synchronous
ntp logging

1 Accepted Solution

Accepted Solutions

liviu.gheorghe
Spotlight
Spotlight

Hello @ddesai ,

for logging to a syslog server, you need the following additional commands:

logging host x.x.x.x

logging trap <level>

The logging trap level is as follows:

alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)

with level 0 generating the least number of messages and level 7 the highes.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

1 Reply 1

liviu.gheorghe
Spotlight
Spotlight

Hello @ddesai ,

for logging to a syslog server, you need the following additional commands:

logging host x.x.x.x

logging trap <level>

The logging trap level is as follows:

alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)

with level 0 generating the least number of messages and level 7 the highes.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

Review Cisco Networking for a $25 gift card