We enable DCD traceoptions to trace the operations of the router or switch interface process. DCD traceoptions can help to understand interface related problems.
Not Applicable
Under main hierarchy:
set interfaces traceoptions file <filename>
set interfaces traceoptions file size <size of the file>
set interfaces traceoptions file files <number of files>
set interfaces traceoptions flag <all or specific flag>
set interfaces traceoptions flag verbose // Log DCD debug all events
Example
set interfaces traceoptions file dcd
set interfaces traceoptions file size 500m
set interfaces traceoptions file files 20
set interfaces traceoptions flag all
set interfaces traceoptions flag verbose
We can enable this under group hierarchy as well.
Example:
[edit groups <group-name> interfaces traceoptions]
router#
More information can be found in below link:
Trace Operations of the Interface Process
Trace files will be store under /var/log directory. We can use below command to see the trace logs:
> show log <trace file-name> // Eg: > show log dcd