cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1317
Views
0
Helpful
2
Replies

Syslog outbound logging filtering on 4507

Vadym Belyayev
Level 1
Level 1

Hello all

How can I filter outbound syslog messages, so they include only configuration changes messages..

On Cisco 2900 I used:

logging discriminator CFGLOG msg-body includes "PARSER" | "CONFIG"

logging host x.x.x.x discriminator CFGLOG

logging x.x.x.x


How can I do the same on 4507?

This feature on cisco routers is called "Reliable Delivery and Filtering for Syslog" and is available for 12.4(11)T  and 12.2(33)SRB (7600)

I am running Version 12.2(25)EWA6 on my Catalyst, so it is not available.

The software I am using is a simple solarwinds syslog server.

Thank you!

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

Unfortunately your older software (ca. 2006) does not support that feature.

I can't find a release note specific to the 4507 but I just logged into one running current software (IOS-XE 3.04 / IOS 15.1(2)) and it does support the feature:

(config)#logging discriminator ?

  WORD  discriminator name; string; max. 8 characters

(config)#logging discriminator test ?

  facility    Facility pattern for messsage filtering

  mnemonics   Mnemonics pattern for messsage filtering

  msg-body    Msg-body pattern for messsage filtering

  rate-limit  Rate-limit value for messsage rate control

  severity    Severity group for messsage filtering

 

(config)#logging discriminator test msg-body includes ?

  LINE  Specify a regular expression string for message filtering

(config)#end                                         

#sh inv

NAME: "Switch System", DESCR: "Cisco Systems, Inc. WS-C4507R+E 7 slot switch "

View solution in original post

2 Replies 2

Marvin Rhoads
Hall of Fame
Hall of Fame

Unfortunately your older software (ca. 2006) does not support that feature.

I can't find a release note specific to the 4507 but I just logged into one running current software (IOS-XE 3.04 / IOS 15.1(2)) and it does support the feature:

(config)#logging discriminator ?

  WORD  discriminator name; string; max. 8 characters

(config)#logging discriminator test ?

  facility    Facility pattern for messsage filtering

  mnemonics   Mnemonics pattern for messsage filtering

  msg-body    Msg-body pattern for messsage filtering

  rate-limit  Rate-limit value for messsage rate control

  severity    Severity group for messsage filtering

 

(config)#logging discriminator test msg-body includes ?

  LINE  Specify a regular expression string for message filtering

(config)#end                                         

#sh inv

NAME: "Switch System", DESCR: "Cisco Systems, Inc. WS-C4507R+E 7 slot switch "

Vadym Belyayev
Level 1
Level 1

Thank you very much Marvin, I will try to get a more advanced syslog server, maybe I will be able to filter on the server itself!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: