terminal-monitor {notify | severity | filter}
Syntax
terminal-monitor {notify <event|debug|all> | severity <level> | filter keyword}
no terminal-monitor
Description
Enables the terminal monitor feature in the SSH session. It display all debug log or event log or both debug and event log messages. Terminal monitoring can be filtered with the severity options or with the help of keywords. Enabling terminal monitor without options displays both debug and event log with a severity error.
The
no
form of this command disables the terminal monitor configuration.
Parameters
notify <event|debug|all>
Specifies the type of log notification.
severity <level>
Specifies the severity level for the logs. The different severity levels are emergency, critical, error (default), warning, notice, information, alert, and debug (shows all severities).
filter <keyword>
Specifies the filter by applying keyword for the logs.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Configuring terminal monitor:
switch# terminal-monitor Terminal-monitor is enabled successfully switch# terminal-monitor notify all Terminal-monitor is enabled successfully switch# terminal-monitor notify event severity info Terminal-monitor is enabled successfully switch# terminal-monitor filter lldp Terminal-monitor is enabled successfully