Overview
The terminal monitor is used to display selective logs dynamically on the VTYSH session. When the terminal monitor feature is enabled on the switch, it displays only the live or active logs. These logs are displayed only on the SSH session. If required, you can enable the terminal monitoring on multiple sessions.
It is important to monitor the logs dynamically while debugging, so that you can co-relate the issues. The logs can be filtered by type (event or debug), severity, or keyword. The terminal monitor runs in synchronous mode, where the user enters any command, the log display pauses until the command execution is complete. This ensures that the logs will not appear in between other CLI outputs or while the user is typing.
Terminal monitoring is not persistent. If the SSH session is terminated, the terminal monitor is no longer valid. In the new SSH session, you need to run the command again.