- Blue, 1500 points or more
can someone give me a debug command will enable to give a level 7 syslogs. i tried debug icmp and i'm not sure if this is level 7 syslogs:
Oct 15 18:28:47.111: ICMP: echo reply sent, src 22.214.171.124, dst 10.4.9.229
Oct 15 18:28:50.340: ICMP: echo reply sent, src 126.96.36.199, dst 10.4.9.229
"*Oct 17 05:59:20.683: %SYS-5-CONFIG_I: Configured from console by console" is a level 5 (notification level) syslog message as "SYS-5-CONFIG_I" indicates.
All debug messages are level 7 syslog messages.
In Cisco IOS there are 8 syslog levels:
You can configure logging on the following devices:
logging console x - logging level to the console port
logging monitor x - logging level to the vty lines
logging buffered x - logging level to the buffer (memory)
logging trap x - logging level to the syslog server
For each device you can configure a different logging level.
If you configure "logging trap 2" or "logging trap critical" then you will get level 0,1 and 2 syslog messages to the syslog server. All other levels will not be sent to the syslog server.
If you configure "logging trap 5" or "logging trap notification" then you will get level 0,1,2,3,4 and 5 syslog messages to the syslog server.
The same applies to the logging conslole, logging monitor and logging buffered commands.