EasyManua.ls Logo

Aruba 2530 - Page 362

Aruba 2530
479 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creates a logging filter to restrict which events are logged. The no form of the command removes the logging
filter.
<name>: The name that identifies the filter.
severity <severity>: Specifies the severity of an event—major, warning, error, info, or debug.
event-num <num>: Specifies an event number to match.
deny: If the log entry matches the specified criteria, do not log the event message. No further criteria are
evaluated for a match.
permit: If the log entry matches the specified criteria, log the event message. No further criteria are evaluated for
a match.
Enabling a Filter after Creation
Syntax:
[no] logging filter <name> enable | disable
Enables a log filter. Only one filter can be enabled at a time. An enabled filter automatically disables a previously
enabled filter.
<name>: The name that identifies the filter.
Clearing a Filter
Syntax:
[no] clear logging filter <name|all>
Clears statistics counters for the named logging filter or for all filters.
Viewing Filter Configuration Information
Syntax:
show logging filter name
Displays the logging filter’s configuration information. The Matches column indicates the number of times that
criteria has matched.
Specifying the criteria for a filter and then enabling the filter
switch(config)# logging filter SevWarnFatal 10 severity warning permit
switch(config)# logging filter SevWarnFatal 20 severity major permit
switch(config)# logging filter SevWarnFatal default deny
switch(config)# logging filter SevWarnFatal enable
1. The filter named SevWarnFatal adds a sub-filter of the severity type, with a sequence number of 10. The sub-
filter specifies that a match for an event log message with a severity of “warning” will be logged.
2. The second sub-filter has a sequence number of 20 and a severity type of major. The sub-filter specifies that a
match for an event log message with a severity of “major” will be logged.
362 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05

Table of Contents