terminal-monitor {notify | severity | filter}

Syntax

terminal-monitor {notify| severity| filterkeyword} 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没有form of this command disables the terminal monitor configuration.

Parameters

没有tify

Specifies the type of log notification.

  • Event:Displays the event log messages.

  • Debug:Displays the debug log messages.

  • All:Displays both event and debug log messages.

severity

指定了塞弗rity level for the logs. The different severity levels are emergency, critical, error (default), warning, notice, information, alert, and debug (shows all severities).

filter

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-monitorTerminal-monitor is enabled successfully switch#terminal-monitor notify allTerminal-monitor is enabled successfully switch#terminal-monitor notify event severity infoTerminal-monitor is enabled successfully switch#终端监控过滤lldpTerminal-monitor is enabled successfully