configure log target filter
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
581
This command associates the specified filter and severity with the specified target. A filter limits
messages sent to a target.
Although each target can be configured with its own filter, by default, all targets are associated with the
built-in filter,
DefaultFilter
. Each target can also be configured with its own severity level. This provides
the ability to associate multiple targets with the same filter, while having a configurable severity level
for each target.
A message is sent to a target if the target has been enabled, the message passes the associated filter, the
message is at least as severe as the configured severity level, and the message output matches the
regular expression specified. By default, the memory buffer, NVRAM, primary MSM, and backup MSM
targets are enabled. For other targets, use the command
enable log target
on page 647
.
Table 13
describes the default characteristics of each type of target.
The built-in filter,
DefaultFilter
, and a severity level of
info
are used for each new telnet session. These
values may be overridden on a per-session basis using the
configure log target filter
command
and specify the target as
session
. Use the following form of the command for per-session configuration
changes:
configure log target session filter <filter name> {severity <severity> {only}}
Configuration changes to the current session target are in effect only for the duration of the session, and
are not saved in FLASH memory. The
session
option can also be used on the console display, if the
changes are desired to be temporary. If changes to the console-display are to be permanent (saved to
FLASH memory), use the following form of the command:
configure log target console filter <filter name> {severity <severity> {only}}
Modular Switches Only.
If the condition for the
backup-msm
target is met by a message generated on the
primary, the event is sent to the backup MSM. When the backup MSM receives the event, it will see if
any of the local targets (nvram, memory, or console) are matched. If so it gets processed. The
session
and
syslog
targets are disabled on the backup MSM, as they are handled on the primary. If the
condition for the
primary-msm
target is met by a message generated on the backup, the event is sent to
the primary MSM.
Note that the
backup-msm
target is only active on the primary MSM, and the
primary-msm
target is
only active on the backup MSM.
Table 13: Default target log characteristics
Target
Enabled
Severity Level
console
display
no
info
memory
buffer
yes
debug-data
NVRAM
yes
warning
primary MSM
yes
error
backup MSM
yes
error
session
no
info
syslog
no
debug-data