Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Here is an EEM script for testing string trim: event manager applet tevent noneaction 1 set i "flash:/abc/def/ghia"action 2 puts "'$i'"action 3 string trimleft "$i" "flash:/"action 4 puts "'$_string_result'"action 5 string trim "$i" "flash:/"action 6...
I am trying to write an EEM script to extract a line from the output of a show command.What is the regexp pattern that can help me extract the first line of output? (til the first "\n"). I tried many regexp patterns to no avail. Just FYI, I ended up...
I was able to import a PKI trustpoint using the crypto pki trustpool import terminal command and copy and paste the pem file. However, when I try to import the same file from flash:. I get an error: (config)#crypto pki trustpool import url flash:myce...
I have a ZBFW policy: policy-map type inspect mypolicyclass type inspect whitelist passclass type inspect everything inspect But what if I need to add a new class-map: policy-map type inspect mypolicyclass type inspect whitelist passclass type ins...
Suppose I have an EEM that listens to multiple events: event manager applet LOG_BACKUPevent tag 1 timer watchdog time 200 maxrun 99event tag 2 syslog pattern "Apple"event tag 3 syslog pattern "Orange"trigger correlate event 1 or event 2 or event 3.....
Looks like the solution is not the best, when there are more than 1 match. The $match will contain a trailing "\n". But if there is only 1 match, the $match will not contain a trailing "\n".
You correctly pointed out that I don't need to remove the policy-map. However, in order do what I want, I still need to remove "class type inspect everything", leaving myself unprotected and also dropping traffic, add "class type inspect blacklist" a...
Very informative document. I got to spend some more time reading it. I think a very important piece is that the local VPN router will remember the MTU error sent by the peer VPN router and will use that information to send the ICMP too big to the sou...