You can change the default behavior of the CONFIG button by including the config-button statement at the [edit chassis] hierarchy level:
- config-button <no-rescue> <no-clear>
The no-rescue option prevents the CONFIG button from loading the rescue configuration. The no-clear option prevents the CONFIG button from deleting all configurations on the router.
To return the function of the CONFIG button to its default behavior, do not include the config-button statement in the router configuration.