Specifications

256 ExtremeWare XOS 10.1 Command Reference Guide
Commands for Status Monitoring and Statistics
configure log target match
configure log target [console | memory-buffer | nvram | session | syslog
[all | <ipaddress> [local0 ... local7]]] match [any |<match-expression>]
Description
Associates a match expression to a target.
Syntax Description
Default
By default, targets do not have a match expression.
Usage Guidelines
This command configures the specified target with a match expression. The filter associated with the
target is not affected. 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.
See the command show log on page 283 for a detailed description of simple regular expressions. By
default, targets do not have a match expression.
Specifying any instead of match-expression effectively removes a match expression that had been
previously configured, causing any message to be sent that has satisfied all of the other requirements.
To see the configuration of a target, use the following command:
show log configuration target {console | memory-buffer | nvram | session | syslog
<ipaddress> [local0 ... local7]}
To see the current configuration of a filter, use the following command:
show log configuration filter {<filter name>}
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 target.
all Specifies all of the remote syslog servers.
ipaddress Specifies the syslog IP address.
local0 ... local7 Specifies the local syslog facility.
any Specifies that any messages will match. This effectively removes a previously
configured match expression.
match-expression Specifies a regular expression. Only messages that match the regular
expression will be sent.