Daniel Frey

Member Since: Mar 30, 2008

User Badges:
  • Cisco Employee,

English
Daniel Frey commented on Tool/script to get information (i.e. model/ios ver) from cisco switch in EEM Scripting 2 days ago

I have written a tool that will do host discovery and display SNMP information about each host...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 4 days ago

It may be best to get on a web ex to go over these changes.   You can  reach me at [email protected]..

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 6 days ago

Replace the stream_NMEA2.tcl with this code and it will send $GPRMC every 2 minutes.   package...

Daniel Frey commented on Commands over SMS in EEM Scripting 3 weeks ago

One of the first actions EEM takes when a SMS is received is open a CLI session.   I do not see...

Daniel Frey commented on Commands over SMS in EEM Scripting 3 weeks ago

Did you re-register the policy in the IOS CLI?    Can you run "debug event manager all" and send an...

Daniel Frey commented on Commands over SMS in EEM Scripting 3 weeks ago

I had a another customer contact me about this issue last week.   We fixed it by updating CLI and...

Daniel Frey commented on How To Send a SNMP Trap Using EEM in EEM Scripting 2 months ago

Start a TCPdump session on the snmp-server and verify that the packet reaches the server.  

Daniel Frey commented on How To Send a SNMP Trap Using EEM in EEM Scripting 2 months ago

Verify that you have snmp-server host x.x.x.x configured in IOS with the proper community to send...

Daniel Frey commented on Want to shutdown interface when monthly threshold of total download is met! in EEM Scripting 3 months ago

I wrote a policy to monitor traffic usage over 4G LTE connections and it can be updated to monitor...

Daniel Frey commented on EEM Script to monitor Cellular RSSI , write to file for inspect of result in EEM Scripting 4 months ago

Nothing stands out, and looks like it should work.  ATT RSSI is not getting populated?   Enable "...

Daniel Frey commented on EEM Script to monitor Cellular RSSI , write to file for inspect of result in EEM Scripting 4 months ago

I had a typo above.  Updated with this policy. ================= event manager applet watch-signal...

Daniel Frey commented on Script to Add port security based on VLAN number in EEM Scripting 6 months ago

Is there an error message displayed?   tclquit or exit should work.

Daniel Frey commented on Script to Add port security based on VLAN number in EEM Scripting 6 months ago

OK, the trunk link shows up in vlan 1 when its not up.   Need to update the show command to exclude...

Daniel Frey commented on Script to Add port security based on VLAN number in EEM Scripting 6 months ago

Can you share the output of "show int status | exclude trunk" when trunk interface is not up but...

Daniel Frey commented on Script to Add port security based on VLAN number in EEM Scripting 6 months ago

This should do what you requested.  Paste this in starting in enable mode. !======= tclsh set ports...

Daniel Frey commented on IOS shell to run commands to only "switchport mode access" interfaces in EEM Scripting 6 months ago

Here is a script that can be pasted into the tcl shell of the device that will apply the same...

Daniel Frey commented on Restore LTE service in EEM Scripting 7 months ago

OID 1.3.6.1.4.1.9.9.661.1.3.4.1.1.3 was not considered.   I have used 1.3.6.1.4.1.9.9.661.1.1.1.5...

Daniel Frey commented on port-securty access violation - eem tcl in EEM Scripting 9 months ago

Try this one. array set arr_einfo [event_reqinfo] set msg "$arr_einfo(msg)" if [ regexp {caused by...

Daniel Frey commented on Restore LTE service in EEM Scripting 1 year ago

Robert, Version 1.1 (Aug 24, 2015) is the latest release. Dan

Daniel Frey commented on EEM Script for matching IP address in EEM Scripting 1 year ago

EEM needs to iterate over the output and extract the ip address.   action 010 cli command "enable"...

Daniel Frey commented on Can I track 2 events in one EEM Applet in EEM Scripting 1 year ago

One option is to look for the state of track 2 inside of the EEM policy.  If track 1 goes down, and...

Daniel Frey commented on Filter syslog messages in Network Management 1 year ago

Discriminator can filter more than one message.  See this link: https://supportforums.cisco.com/...

Daniel Frey commented on Multi Cell / Multi Wan EEM/IP SLA Tracking in EEM Scripting 1 year ago

Most of the requirements looks like a routing decision.   Have an IPSLA preconfigured for all 4...

Daniel Frey commented on Multi Cell / Multi Wan EEM/IP SLA Tracking in EEM Scripting 1 year ago

EEM policy "commandoversms.tcl" in the above link can switch the cell carriers.   SMS the router...

Daniel Frey commented on Logging Discriminator in Network Management 1 year ago

THRESHOLD_VIOLATION is the mnemonic field in the syslog message and not msg-body.

Daniel Frey commented on Monitor the byte count over 4G Cellular interface(s) in EEM Scripting 1 year ago

Cellular0.txt is updated when the policy runs and in your setup every 30 minutes.   Clear counters...

Daniel Frey commented on Monitor the byte count over 4G Cellular interface(s) in EEM Scripting 1 year ago

I believe 0 bytes is expected based on what you have shared.   The day of the month (DOM) is the...

Daniel Frey commented on Regular expressions in EEM - Syslog pattern in EEM Scripting 1 year ago

This regexp will work if you want to match on any neighbor  IP.    BGP-5-ADJCHANGE: neighbor [0-9...

Daniel Frey commented on No Data Returned from SNMP MIB-2 Object dot1dStatic in Network Management 1 year ago

The BRIDGE-MIB has this: dot1dStaticEntry OBJECT-TYPE SYNTAX Dot1dStaticEntry MAX-ACCESS not-...

Daniel Frey commented on One Applet with Multiple Event Combinations in EEM Scripting 1 year ago

The policy could be written in TCL and boolean logic can be applied to the "if" statements for ...

Daniel Frey commented on One Applet with Multiple Event Combinations in EEM Scripting 1 year ago

show event manager detector routing details shows the variable data included for the event.   Two...

Daniel Frey commented on Array in TCL in EEM Scripting 1 year ago

Arrays can return the elements out of order.   List data structure referenced by index can return...

Daniel Frey commented on EMM Script to monitor voice calls longer than 100 seconds. in EEM Scripting 1 year ago

Try this one. event manager applet Long_Callevent noneaction 010 cli command "enable"action 020...

Daniel Frey commented on EMM Script to monitor voice calls longer than 100 seconds. in EEM Scripting 1 year ago

I updated the line 030 with \n which is needed as well.   Also please include line 080 so there are...

Daniel Frey commented on EMM Script to monitor voice calls longer than 100 seconds. in EEM Scripting 1 year ago

What does "show isdn active" show when there are calls established?   Do you want an email for each...

Daniel Frey commented on Check NTP Synchronization Status in EEM Scripting 1 year ago

Try changing the get-type from exact to next.

Daniel Frey commented on Check NTP Synchronization Status in EEM Scripting 1 year ago

Try polling ntpEntStatusCurrentMode  from the NTP-MIB.   Gives the same info as cntpSysSrvStatus.

Daniel Frey commented on Script to revert interface to default config and shut it down. in Network Management 1 year ago

If you paste this into exec mode on the switch it should do what you requested. #######tclshset...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

I believe your right that we have miscommunication.   What I wanted to say on my original response...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

I translated your EEM applet to an EEM TCL policy above but your still using the EEM applet.   The...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

I do not see an element with the name result inside of event_reqinfo.    Can you paste the copy of...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

The updated script is pasted below.   I did update string length to be less than 70 since it...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

Take your "BGP_VRF_CHECK" policy to the link I provided above and convert...

Daniel Frey commented on EEM Versioning on 6500s in EEM Scripting 1 year ago

You can translate your applet to an EEM TCL policy here.  http://www.marcuscom.com/convert_applet/...

Daniel Frey commented on Traps in LAN, Switching and Routing 1 year ago

If your looking to test your snmpserver takes in the temperature trap and processes it correctly...

Daniel Frey commented on Help: TCL Syntax for redirecting output to a file in EEM Scripting 1 year ago

Would be best to make this an EEM TCL policy  ... however this may work.set result [exec dir | inc...

Daniel Frey commented on Help: TCL Syntax for redirecting output to a file in EEM Scripting 1 year ago

Add these lines at #additional cli and append statements in the original script.set IP [list 10.1.1...

Daniel Frey commented on Issue with Monitor the byte count over 4G Cellular interface script in EEM Scripting 1 year ago

Take that line out and replace with this one.::cisco::eem::event_register_timer cron name...

Daniel Frey commented on bgp neighbor count in EEM Scripting 1 year ago

Pipe has a count option.#sh ip bgp sum | count ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+Number of lines which...

Bio

User Badges:
  • Badge.
    Cisco Employee

Daniel Frey's Stats

Discussion started
Answers marked as Correct
Endorsed
Content Rated