While in configuration mode, you might need to enter an operational mode command, such as show or request. To enter a single operational mode command, first enter the run command and then specify the operational mode command as follows:
- user@host# run operational-mode-command
For example, to display a pending system reboot while in configuration mode, enter the show system reboot operational mode command as follows:
- [edit]
- user@host# run show system reboot
- No shutdown/reboot scheduled.
If you are in operational mode, the show cli history command displays the history of the operational mode commands issued. To display the history of the configuration mode commands issued, enter the show cli history command from configuration mode as follows:
- [edit]
- user@host# run show cli history
- 15:32:51 -- exit
- 15:52:02 -- load merge terminal
- 17:07:57 -- run show ospf statistics
- 17:09:12 -- exit
- 17:18:49 -- run show cli history