Extreme Networks ExtremeWare Command Reference Manual page 680

Version 7.5
Hide thumbs Also See for ExtremeWare:
Table of Contents

Advertisement

Commands for Status Monitoring and Statistics
Multiple Match Commands. Multiple
commands are logically
configure log add events match
ORed together. For example, the following commands define a filter that allows layer 2 bridging
incidents with a source MAC address of one of three possible values:
create log filter bridgeFilter
configure log bridgeFilter add events bridge severity notice match source mac-address
00:11:12:13:14:15
configure log bridgeFilter add events bridge severity notice match source mac-address
00:21:22:23:24:25
configure log bridgeFilter add events bridge severity notice match source mac-address
00:31:32:33:34:35
In order to exclude only incidents whose parameter values match the specified criteria, follow this
two-step process. First, include the applicable event(s) using either the
configure log filter events
command or the
command described here, with a superset of
configure log filter events match
the match criteria. Second, use the
keyword in the
exclude
configure log filter events match
command to exclude incidents with the specified parameter values.
As an example, the following commands define a filter that allows incidents in the BGP.Keepalive
component at severity notice or more severe, except those incidents containing a BGP neighbor in the
10.1.2.0/24 subnet:
create log filter bgpFilter
configure log bgpFilter add events bgp.keepalive severity notice
configure log bgpFilter add exclude events bgp.keepalive severity notice match bgp
neighbor 10.1.2.0/24
Filter Optimization. As explained for the
command, each time a
configure log filter events
command is issued, an attempt is made to logically simplify the
configure log filter match
configuration. This simplification extends to cases where one set of match criteria is a superset of
another. For example, if you issued the following commands:
create log filter bgpFilter1
configure log bgpFilter1 add events bgp.event severity notice match bgp neighbor
10.0.0.0/8
configure log bgpFilter1 add events bgp.event severity notice match bgp neighbor
10.1.2.0/24 and L4-port 80
then the third command is redundant and no filter item is actually added. The reason is that the IP
subnet 10.1.2.0/24 is wholly contained within the IP subnet 10.0.0.0/8, which is already included in this
filter, and with any value for the layer 4 port.
More Information. See the command
on page 775 for more information about severity
show log
levels.
To see a list of the components present in the system, use the following command:
show log components
680
ExtremeWare 7.5 Command Reference Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware 7.5

Table of Contents