Daniel Frey

Member Since: Mar 30, 2008

User Badges:
  • Cisco Employee,

English
Daniel Frey commented on Commands over SMS in EEM Scripting 2 days ago

Add the 3 lines of bold syntax after this.   if {[info exists phoneprefix]} {     set phonenumber...

Daniel Frey commented on Commands over SMS in EEM Scripting 2 days ago

The output now has a "space" in front of Survey and this was not matching regexp.   Change the line...

Daniel Frey commented on Commands over SMS in EEM Scripting 2 days ago

Indeed I did mean that command.    The output has changed so the regexp is no longer matching to...

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

When you send an SMS what is the output of "show cellular 0/3/0 lte sms view <index_number>?

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

Also, verify that the environment variables do not have quotes.   If they have quotes I believe ...

Daniel Frey commented on Commands over SMS in EEM Scripting 2 months ago

I have not tested on the IR809s. Try sending SMS from you phone to the router.  Try to manually...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

I think it would be better if we got on a web ex to take a look.   you can contact me at dafrey@...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

debug ip packet using an ACL that limits it to the UDP traffic.   Need to verify that the packets...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

The script tries to get the NMEA port automatically by running CLI command "show line | inc NM".  ...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

Manually reverse telnet to the NMEA line and verify that NMEA data is present. C1921#telnet 192....

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months ago

You will not see anything on the router that it is making a connection to the NMEA server.    A few...

Daniel Frey commented on Commands over SMS in EEM Scripting 2 months ago

The phonenumber gets put into the router CLI.    event manager environment whitelist <regular...

Daniel Frey commented on Tool/script to get information (i.e. model/ios ver) from cisco switch in EEM Scripting 2 months 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 2 months ago

It may be best to get on a web ex to go over these changes.   You can  reach me at dafrey@cisco.com...

Daniel Frey commented on GPS NMEA streaming over UDP in EEM Scripting 2 months 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 months 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 months 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 months 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 4 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 4 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 5 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 7 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 7 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 9 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 9 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 9 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 9 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 9 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 10 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 11 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.

Bio

User Badges:
  • Badge.
    Cisco Employee

Daniel Frey's Stats

Points455
Discussion started 0
Answers marked as Correct 64
Endorsed 1
Content Rated 7