Do commands like monitor, ping, show, test, and traceroute affect configuration changes?
monitor/ping/show/test/traceroute all these commands are operational mode commands, it will not affect the configuration DB.
Operational Mode
In operational mode, you use the CLI to monitor and troubleshoot the device. The monitor, ping, show, test, and
traceroute commands let you display information and test network connectivity for the device.
Configuration Mode
In configuration mode, you can configure all properties of the Junos OS, including interfaces, protocols, and user access, as
well as several system hardware properties.