624
ExtremeWare Software 7.3.0 Command Reference Guide
Commands for Status Monitoring and Statistics
definitions (the event text and parameter types). The syntax for the parameter types (represented by
<type> in the command syntax above) is:
[bgp [neighbor | routerid] <ip address>
| eaps <eaps domain name>
| {destination | source} [ipaddress <ip address> | L4-port | mac-address ]
| {egress | ingress} [slot <slot number> | ports <portlist>]
| netmask <netmask>
| number <number>
| string <match expression>
| vlan <vlan name>
| vlan tag <vlan tag>]
The <value> depends on the parameter type specified. As an example, an event may contain a physical
port number, a source MAC address, and a destination MAC address. To allow only those incidents
with a specific source MAC address, use the following in the command:
configure log filter myFilter add events bridge severity notice match source
mac-address 00:01:30:23:C1:00
The string type is used to match a specific string value of an event parameter, such as a user name. A
string can be specified as a simple regular expression.
Match Versus Strict-Match.
The
match
and
strict-match
keywords control the filter behavior for
incidents whose event definition does not contain all the parameters specified in a
configure log
filter events match
command. This is best explained with an example. Suppose an event in the
XYZ
component, named
XYZ.event5
, contains a physical port number, a source MAC address, but no
destination MAC address. If you configure a filter to match a source MAC address and a destination
MAC address,
XYZ.event5
will match the filter when the source MAC address matches regardless of the
destination MAC address, since the event contains no destination MAC address. If you specify the
strict-match
keyword, then the filter will never match, since
XYZ.event5
does not contain the
destination MAC address.
In other words, if the
match
keyword is specified, an incident will pass a filter so long as all parameter
values in the incident match those in the match criteria, but all parameter types in the match criteria
need not be present in the event definition.
The ExtremeWare CLI exposes the keywords
match
,
strict-match
, and individual parameter types
only when they are valid given the set of events specified in the command. This behavior guides you to
form more meaningful filter match criteria. For example, a MAC address is not used to match BGP
events where MAC address parameters are not present.
And Keyword.
Use the
and
keyword to specify multiple parameter type/value pairs that must match
those in the incident. For example, to allow only those events with specific source and destination MAC
addresses, use the following command:
configure log filter myFilter add events bridge severity notice match source
mac-address 00:01:30:23:C1:00 and destination mac-address 01:80:C2:00:00:02
Multiple Match Commands.
Multiple configure log add events match commands are logically 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
Содержание 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...