cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1418
Views
0
Helpful
1
Replies

Syslog filter with tcl commands

974312magr
Level 1
Level 1

Hi.

I was checking the tcl function ( http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5207/products_feature_guide09186a00801a8516.html#wp1063029 ) in IOS routers because I want filter all IPS events sending to a CiscoWorks Syslog collector, but I have a problem.

I introduced a script using the tclsh command, but it filtered all the syslogs events. I want to entered an other script, but I can´t delete the first one. I reload the device, but the first one script is still worked.

Could someone tell me how can I delete the first script? Where the script is stored when you introduced it with cli commands?

Besides, someone has an example of the script filtering events containing a specific facility or containing determined word in the mnemonic?

Thanks.

Marco.

1 Reply 1

b.hsu
Level 5
Level 5

take a look at the following documents:

Cisco IOS Scripting with Tcl -

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123

t/123t_2/gt_tcl.htm

Embedded Syslog Manager -

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5207/products_feat

ure_guide09186a00801a8516.html

Review Cisco Networking for a $25 gift card