configure log filter events match
ExtremeWare Software 7.3.0 Command Reference Guide
625
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 using the
configure log filter events match
command described here, with a
superset of the match criteria. Second, use the
exclude
keyword in the
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 in the
configure log filter events
command, each time a
configure log filter match
command is issued, an attempt is made to logically simplify the
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
show log
on page 713 for more information about severity
levels.
To get a listing of the components present in the system, use the following command:
show log components
To get a listing of event condition definitions, use the following command:
show log events
To see the current configuration of a filter, use the following command:
show log configuration filter <filter name>
Содержание 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...