Example: Tracing Spanning-Tree Protocol Operations
Trace only unusual or abnormal operations to /var/log/stp-log:
[edit]routing-options {traceoptions {file /var/log/routing-log;flag errors;}}protocols {rstp {traceoptions {file /var/log/stp-log;}}}
[an error occurred while processing this directive]
[an error occurred while processing this directive]Trace only unusual or abnormal operations to /var/log/stp-log: