TcL Scripting for Cisco IOS by Durai Arvind; Blair Raymond; Lautmann John

TcL Scripting for Cisco IOS by Durai Arvind; Blair Raymond; Lautmann John

Author:Durai, Arvind; Blair, Raymond; Lautmann, John
Language: eng
Format: mobi
Publisher: Pearson Education (USA)
Published: 2010-06-08T22:00:00+00:00


if [string match "*by console" $::orig_msg] {

return ""

} else {

return $::orig_msg

}

Copy this new filter to the local storage of the router and remove the old filter2.tcl and add the newly created filter3.tcl:

syslogSender#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

syslogSender(config)#no logging filter flash:filter2.tcl

syslogSender(config)#logging filter flash:filter3.tcl

syslogSender(config)#end

syslogSender#

On exiting configuration mode, a syslog message was not generated on the Cisco IOS device console. However, you will be notified with a syslog message when a user modifies the configuration that comes in through a remote terminal session.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.