pingduck
Level 1
Level 1
Member since ‎11-28-2017
‎10-14-2020

User Statistics

  • 89 Posts
  • 2 Solutions
  • 10 Helpful votes Given
  • 15 Helpful votes Received
Recent Badges
50 Replies
10 Helpful Vote
1 Helpful Vote
1 Accepted Solution
20 Replies
10 Replies
5 Replies

User Activity

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.....
Community Statistics
Member Since ‎11-28-2017 12:13 AM
Date Last Visited ‎10-14-2020 12:05 AM
Posts 89
Total Helpful Votes Received 15
Helpful Votes From
Helpful Votes Given To