macsec mka-session log enable
Use macsec mka-session log enable to enable MKA session logging.
Use undo macsec mka-session log enable to disable MKA session logging.
Syntax
macsec mka-session log enable
undo macsec mka-session log enable
Default
MKA session logging is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables the device to generate logs for MKA session changes, such as peer aging and SAK updates. The logs are sent to the information center of the device. For the logs to be output correctly, you must also configure the information center on the device. For more information about information center configuration, see Network Management and Monitoring Configuration Guide.
As a best practice, disable MKA session logging to prevent excessive log output.
Examples
# Enable MKA session logging.
<Sysname> system-view [Sysname] macsec mka-session log enable
Related commands
info-center source (Network Management and Monitoring Command Reference)