How to configure the switch to record executed commands in logs

To 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.

Scroll to top