traceoptions (Event Scripts) not supported in qfx5220-32cd running Junos EVO
QFX5220 switch running Junos EVO is displaying a configuration error:
username@hostname> show configuration event-options
event-script {
##
## Warning: configuration block ignored: unsupported platform (qfx5220-32cd)
traceoptions {
file escriptest.log size 1m files 2;
flag output;
}
The cause of seen the Warning message is due to the “traceoptions” statement, which is not a possible and not supported completion within the "event-options event-script" hierarchy.
username@hostname# set event-options event-script
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
> dampen Run event scripts in dampen mode
> file File name for event script
max-datasize Maximum data segment size for scripts execution (bytes)
optional Allow commit to succeed if the script is missing
refresh Refresh all operation scripts from their source
refresh-from Refresh all operation scripts from a given base URL
Resolution: As per the above output, we can confirm that the “traceoptions” statement is not compatible within the "event-options event-script" hierarchy; therefore, the error is expected on this scenario. If still required, you may need to correct the configuration for supported values for this qfx5220-32cd platform.
Important Note:
Junos OS Evolved captures trace data for all applications by default and collects the data for all script types in trace files that correspond to the cscript application. To view the trace data, issue the “show trace application cscript” command.
We also have included the following documentation links for future reference:
event-options
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/event-options-edit.html
traceoptions (Event Scripts)
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-event-options-event-script.html