Getting your router to Tweet

Getting your router to Tweet Original post-link # http://routing-bits.com/2010/01/20/tweeting-router/#more-1697 so an earlier post sharing a really neat geek trick is awesome, but how the hell does one go about configuring a router to tweet something? (if you not a programmer) To do it, you would need the following: IOS image that supports EEM. A twitter account. A base64 encoded representation of you twitter account’s Bruno’s twitter script. Download tweet-policy.tcl here. The IP address of your nearest twitter…

Read More

Cisco TCL script base commands

Run script !define where the scripts will be stored event manager directory user policy flash: OR event manager directory user policy flash:/eempolicy/ load script copy tftp://10.64.1.2/rtpstreams.tcl flash: Register script event manager policy rtpstreams.tcl when change made them after you reload the script you need to re-register it is well no event manager policy rtpstreams.tcl event manager policy rtpstreams.tcl Run it tcls flash:sipcount.tcl OR tcls source flash:sipcount.tcl debug debug event manager detector ? !turn on debug…

Read More

TCL for Class-based QoS MIB indexes

TCL for Class-based QoS MIB indexes Class-based QoS MIB is a very complex data structure with numerous cross-indexes, making it very hard to find the exact SNMP variable that should be monitored with an EEM applet (for example, the bit rate of one class on a specific interface). This script traverses the Class-based QoS MIB and displays service policies and classes attached to individual interfaces. The policy index and class index values are printed next…

Read More

TCL scripting for ARP table display

ARP table display Original Url  # http://wiki.nil.com/ARP_table_display In a layer-3 switching environment, the ARP table displayed with the show arp command lists the logical (L3) interfaces, for example the VLAN or BVI interface. This Tcl script displays the logical as well as physical interface associated with each IP/MAC address. The show mac-address-table and show bridge commands are used to establish the mapping between MAC addresses and physical interfaces. The script has been tested on Catalyst 3500 switches running Cisco IOS release…

Read More