How to configure the switch to record executed commands in logs
157To enable the switches to record the executed commands in logs, run the following command in the system view:
info-center source SHELL channel logbuffer log level debugging state on
You can run the display logbuffer command to view commands executed after the switch starts.