Session log example

Last Updated : Nov 06, 2012 |

The following example enables a session log for a user wishing to debug the ISAKMP application, while only receiving messages of severity level error or stronger for all other applications. Therefore, the user sets the default severity level for all applications to error, and then sets the severity of the ISAKMP application to informational. Finally, the user displays the filter settings.

Gxxx-001(super)# set logging session enable
Done!
Gxxx-001(super)# set logging session condition all Error
Done!
Gxxx-001(super)# set logging session condition ISAKMP Informational
Done!
Gxxx-001(super)# show logging session condition
******************************************************
*** Message logging configuration of CLI sink ***
Sink Is Enabled
Sink default severity: Error
Application          ! Severity Override
-------------------------------------------
ISAKMP               ! Informational