configure log target match
ExtremeWare Software 7.3.0 Command Reference Guide
637
configure log target match
configure log target [console-display | memory-buffer | nvram | session |
syslog [<host name/ip> {: <udp-port>} [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 713 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 seethe configuration of a target, use the following command:
show log configuration target [console-display | memory-buffer | nvram | session |
syslog [<host name/ip> {: <udp-port>} [local0 ... local7]]]
To see the current configuration of a filter, use the following command:
show log configuration filter <filter name>
console-display
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.
host name/ip
Specifies the syslog host name or IP address.
udp-port
Specifies the UDP port number for the syslog target.
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.
Содержание ExtremeWare 7.3.0
Страница 54: ...54 ExtremeWare Software 7 3 0 Command Reference Guide Contents...
Страница 104: ...104 ExtremeWare Software 7 3 0 Command Reference Guide Commands for Accessing the Switch...
Страница 378: ...378 ExtremeWare Software 7 3 0 Command Reference Guide FDB Commands...
Страница 418: ...418 ExtremeWare Software 7 3 0 Command Reference Guide QoS Commands...
Страница 436: ...436 ExtremeWare Software 7 3 0 Command Reference Guide NAT Commands...
Страница 600: ...600 ExtremeWare Software 7 3 0 Command Reference Guide SLB Commands...
Страница 968: ...968 ExtremeWare Software 7 3 0 Command Reference Guide Security Commands...
Страница 1002: ...1002 ExtremeWare Software 7 3 0 Command Reference Guide EAPS Commands...
Страница 1126: ...1126 ExtremeWare Software 7 3 0 Command Reference Guide ESRP Commands...
Страница 1392: ...1392 ExtremeWare Software 7 3 0 Command Reference Guide IGP Commands...
Страница 1478: ...1478 ExtremeWare Software 7 3 0 Command Reference Guide BGP Commands...
Страница 1556: ...1556 ExtremeWare Software 7 3 0 Command Reference Guide IP Multicast Commands...
Страница 1600: ...1600 ExtremeWare Software 7 3 0 Command Reference Guide IPX Commands...
Страница 1616: ...1616 ExtremeWare Software 7 3 0 Command Reference Guide ARM Commands...
Страница 1694: ...1694 ExtremeWare Software 7 3 0 Command Reference Guide PoS Commands...
Страница 1750: ...1750 ExtremeWare Software 7 3 0 Command Reference Guide T1 E1 and T3 WAN Commands...
Страница 1856: ...1856 ExtremeWare Software 7 3 0 Command Reference Guide MPLS Commands...
Страница 1898: ...1898 ExtremeWare Software 7 3 0 Command Reference Guide High Density Gigabit Ethernet Commands...
Страница 1938: ...1938 ExtremeWare Software 7 3 0 Command Reference Guide Power Over Ethernet Commands...
Страница 1988: ...1988 ExtremeWare Software 7 3 0 Command Reference Guide H VPLS Commands...
Страница 2106: ...2106 ExtremeWare Software 7 3 0 Command Reference Guide Wireless Commands...
Страница 2132: ...2132 ExtremeWare Software 7 3 0 Command Reference Guide Configuration and Image Commands...
Страница 2236: ...2236 ExtremeWare Software 7 3 0 Command Reference Guide Troubleshooting Commands...
Страница 2254: ...2254 ExtremeWare Software 7 3 0 Command Reference Guide Index of Commands...