Remotesyslog
conf t logging host 192.168.1.100 # Define syslog server IP logging trap informational # Set logging level (0-7) logging source-interface Vlan1 # (Optional) Use a specific interface service timestamps log datetime msec # Include timestamps exit wr mem # Save configuration
Adjust Logging Levels
logging trap warnings # Sends logs level 4 and above
Level Severity Description 0 emergencies System unusable 1 alerts Immediate action needed 2 critical Critical conditions 3 errors Error conditions 4 warnings Warning conditions 5 notifications Normal but significant events 6 informational Informational messages 7 debugging Debugging messages