Specifications

configure log target filter
ExtremeWare XOS 10.1 Command Reference Guide 251
configure log target filter
configure log target [console | memory-buffer | nvram | session | syslog
[all | <ipaddress> [local0 ... local7]]] filter <filter-name> {severity
<severity> {only}}
Description
Associates a filter to a target.
Syntax Description
Default
If severity is not specified, the severity level for the target is left unchanged.
Usage Guidelines
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 and the NVRAM targets are enabled. For
other targets, use the command
enable log target on page 273. Table 9 describes the default
characteristics of each type of target.
target Specifies the device to send the log entries.
console Specifies the console display.
memory-buffer Specifies the switch memory buffer.
nvram Specifies the switch NVRAM.
session Specifies the current session (including console display).
syslog Specifies a syslog remote server.
all Specifies all of the syslog remote servers.
ipaddress Specifies the syslog IP address.
local0 ... local7 Specifies the local syslog facility.
filter-name Specifies the filter to associate with the target.
severity Specifies the minimum severity level to send (if the keyword only is omitted).
only Specifies that only the specified severity level is to be sent.