I am trying to create a TCL script to suppress PfR learning syslog messages: %OER_BR-5-NOTICE: Prefix Learning STARTED %OER_BR-5-NOTICE: Prefix Learning STOPPEDI only wish to suppress these messages. All other syslog messages are n...
test123-br# do sh ver | inc .binSystem image file is "flash:c2951-universalk9-mz.SPA.152-4.M4.bin" -test123-br# do sh runservice timestamps debug datetime msecservice timestamps log datetime msecservice password-encryption!hostname test123-br!boot-s...
The script you have listed:if { [regexp {Prefix Learning STOPPED} $::orig_msg] } { return ""}return $::orig_msg... is filtering both the "%OER_BR-5-NOTICE: Prefix Learning STOPPED" and the "%OER_BR-5-NOTICE: Prefix Learning STARTED" messages. How...