This Article will explain how to enable the trace option for MACSec
N/A
Below is the sample configuration to enable macsec trace options.
root@host#set security macsec traceoptions file macsec-log
root@host#set security macsec traceoptions file size 10m
root@host#set security macsec traceoptions flag all
[edit]
+ security {
+ macsec {
+ traceoptions {
+ file macsec-log size 10m;
+ flag all;
+ }
Use below commands to display the contents of the trace log file.
root@host> show log macsec-log root@host> show log macsec-log | last 10 | refresh