Cisco Routers and Switches
Overview
Cisco Routers and Switches logs are collected via syslog. The below configurations should be applicable to any system.
Configuring the syslog setup
These are the configuration steps for the Cisco Routers and Switches server. After logging in, run the following:
configure terminallogging host <AERSS IP> transport udp port 514service timestamps log datetime show-timezonelogging trap 6exitexit
Trap ID
Below is a reference to the different logging traps available.
| ID | Title | Example Logs |
|---|---|---|
| 0 | Emergencies | System shutting down due to missing fan tray |
| 1 | Alerts | Temperature limit exceeded |
| 2 | Critical | Memory allocation failures |
| 3 | Errors | Interface Up/Down messages |
| 4 | Warnings | Configuration file written to server, via SNMP request |
| 5 | Notifications | Line protocol Up/Down |
| 6 | Information | Access-list violation logging |
| 7 | Debug | Debug messages |