Event Management System/Logging
ExtremeWare XOS 10.1 Concepts Guide
107
number of sources available on the Internet and in various language references describing the operation
of regular expressions. Table 20 shows some examples of regular expressions.
Matching Parameters
Rather than using a text match, EMS allows you to filter more efficiently based on the message
parameter values. In addition to event components and conditions and severity levels, each filter item
can also use parameter values to further limit which messages are passed or blocked. The process of
creating, configuring, and using filters has already been described in “Filtering By Components and
Conditions” on page 105, so this section describes matching parameters with a filter item. To configure a
parameter match filter item, use the following command:
configure log filter <name> [add | delete] {exclude} events [<event-condition> | [all
| <event-component>] {severity <severity> {only}}] [match | strict-match] <type>
<value>
Each event in ExtremeWare XOS is defined with a message format and zero or more parameter types.
The
show log events all
command can be used to display event definitions (the event text and
parameter types). Only those parameter types that are applicable given the events and severity specified
are exposed on the CLI. The syntax for the parameter types (represented by
<type>
in the command
syntax above) is:
[bgp [neighbor | routerid] <ip address>
| {destination | source} [ipaddress <ip address> | L4-port <L4-port>| mac-address
<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 radius
incidents, of severity
notice
and above, with a specific source MAC address, use the following
command:
configure log filter myFilter add events aaa.radius.requestInit secerity notice match
source mac-address 00:01:30:23:C1:00
Table 20: Simple regular expressions
Regular Expression
Matches
Does Not Match
port
port 2:3
import cars
portable structure
poor
por
pot
..ar
baar
bazaar
rebar
bar
port.*vlan
port 2:3 in vlan test
add ports to vlan
port/vlan
myvlan$
delete myvlan
error in myvlan
myvlan port 2:3
ports 2:4,3:4 myvlan link down
Summary of Contents for ExtremeWare XOS 10.1
Page 12: ...12 ExtremeWare XOS 10 1 Concepts Guide Contents...
Page 15: ...Part 1 Using ExtremeWare XOS...
Page 16: ......
Page 20: ...20 ExtremeWare XOS 10 1 Concepts Guide ExtremeWare XOS Overview...
Page 32: ...32 ExtremeWare XOS 10 1 Concepts Guide Accessing the Switch...
Page 74: ...74 ExtremeWare XOS 10 1 Concepts Guide Virtual LANs VLANs...
Page 80: ...80 ExtremeWare XOS 10 1 Concepts Guide Forwarding Database FDB...
Page 112: ...112 ExtremeWare XOS 10 1 Concepts Guide Status Monitoring and Statistics...
Page 133: ...Part 2 Using Switching and Routing Protocols...
Page 134: ......
Page 174: ...174 ExtremeWare XOS 10 1 Concepts Guide Virtual Router Redundancy Protocol...
Page 184: ...184 ExtremeWare XOS 10 1 Concepts Guide IP Unicast Routing...
Page 202: ...202 ExtremeWare XOS 10 1 Concepts Guide Interior Gateway Protocols...
Page 216: ...216 ExtremeWare XOS 10 1 Concepts Guide Exterior Gateway Routing Protocols...
Page 224: ...224 ExtremeWare XOS 10 1 Concepts Guide IP Multicast Routing...
Page 225: ...Part 3 Appendixes...
Page 226: ......
Page 234: ...234 ExtremeWare XOS 10 1 Concepts Guide Software Upgrade and Boot Options...
Page 242: ...242 ExtremeWare XOS 10 1 Concepts Guide Troubleshooting...
Page 256: ...4 ExtremeWare XOS 10 1 Concepts Guide Index of Commands...