Modifying A Log Filter - Alcatel-Lucent 7950 SR System Management Manual

Hide thumbs Also See for 7950 SR:
Table of Contents

Advertisement

Modifying a Log Filter

Use the following CLI syntax to modify a log filter:
CLI Syntax: config>log
The following output displays the current log filter configuration:
ALA-12>config>log# info
#------------------------------------------
echo "Log Configuration "
#------------------------------------------
...
...
------------------------------------------
ALA-12>config>log#
The following displays an example of the log filter modifications:
Example
7950 SR OS System Management Guide
filter filter-id
default-action {drop|forward}
description description-string
entry entry-id
action {drop|forward}
description description-string
match
application {eq|neq} application-id
number {eq|neq|lt|lte|gt|gte} event-id
router {eq|neq} router-instance [regexp]
severity {eq|neq|lt|lte|gt|gte} severity-level
subject {eq|neq} subject [regexp]
filter 1
default-action drop
description "This is a sample filter."
entry 1
action forward
match
application eq "mirror"
severity eq critical
exit
exit
exit
:
config# log
config>log# filter 1
config>log>filter# description "This allows <n>."
config>log>filter# default-action forward
config>log>filter# entry 1
config>log>filter>entry$ action drop
config>log>filter>entry# match
config>log>filter>entry>match# application eq user
Event and Accounting Logs
Page 353

Advertisement

Table of Contents
loading

Table of Contents