03-13-2024 11:36 AM
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
Solved! Go to Solution.
03-13-2024 11:54 AM
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.
03-13-2024 11:54 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide