[c-nsp] Object tracking

Gaurav Sabharwal gaurav at inwire.net
Thu May 29 11:15:49 EDT 2008


Gary,

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6550/prod_white_paper0900aecd803a4dad_ps6815_Products_White_Paper.html

Event Manager example below. The example below is used to configure rate 
limit in DSL+Dial environment. Match a syslog pattern and take action 
1.0 and 1.1.

event manager applet configure-rate-limit
  event syslog pattern "LINEPROTO-5-UPDOWN.*Virtual-Access1.*up"
  action 1.0 cli command "enable"
  action 1.1 cli command "tclsh flash:confRL.tcl ATM0.1 Virtual-PPP1"

HTH,
- Gaurav

on 05/29/2008 05:01 PM Gary Roberton said the following:
> This one could be interesting...
> 
> I have a tunnel interface that I only want to be up when the ethernet
> interface on the router is up.  I don't want to relate the tunnel to the
> address of the ethernet, I need these to be separate.
> 
> So, does anyone know if I can shut the interface if the status of the object
> changes?  If you have any example code that would be great...
> 
> Thanks
> 
> Gary
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 



More information about the cisco-nsp mailing list