
Configuring Syslog Services
308659-14.00 Rev 00
G-15
Examples:
filter/192.168.3.4/telnet-sessions# severity-mask {trace}
filter/192.168.3.4/telnet-sessions# severity-mask {fault warning info}
filter/192.168.3.4/telnet-sessions# severity-mask {all}
Filtering by Slot Number
The router stores event messages in the log buffer associated with each slot. You
can create an entity filter that captures only event messages logged on specified
slots. To define a range of slot numbers for an entity filter, you specify values for
the following filter parameters:
• slot-lower-bound
• slot-upper-bound
Syslog includes the upper and lower boundary numbers as part of the range. You
must specify at least one slot in the range 1 to 14, where the slot numbers depend
on the model of router.
For example, you can configure an entity filter for FTP with an event number
range of 5 to 27 and a slot number range of 2 to 5. In this case, Syslog forwards to
the remote host associated with this filter FTP log messages numbered 5 to 27
logged on slots 2 to 5 only.
You can configure a filter to select messages logged on a specific slot by setting
the upper and lower slot boundary values to the same number.
To determine by slot numbers the event messages you want Syslog to capture and
forward to a host, navigate to the appropriate filter context and enter:
Note:
When specifying multiple severity levels (other than all), enclose the
values in braces (
{ }) and separate each value with a space.
Note:
Since the slot-lower-bound and slot-upper-bound parameters each have
a default value of 0, you must enter a valid, nonzero slot range or the filter will
not become active.
Comentarios a estos manuales