04-11-2013 12:37 PM
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!
Solved! Go to Solution.
04-11-2013 04:54 PM
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 "
04-11-2013 04:54 PM
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 "
04-11-2013 10:07 PM
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!
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: