Automatic Telnet From Router to Router via event manager

Unanswered Question
May 27th, 2009

hi,

i need to check if it is feasible to make one router telnet to another router when an event occurs (logging) and make a shutdown command on the other router.

what did is:

event manager environment _email_server 193.227.177.130

event manager environment _email_to [email protected]

event manager environment _email_from [email protected]

event manager environment _config_cmd1 do telnet 1.1.1.2

event manager environment _config_cmd2 conf t

event manager environment _config_cmd3 inter loo166

event manager environment _config_cmd4 shut

event manager environment _syslog_pattern .*UPDOWN.*Loopback0.*down

event manager policy sl_intf_down.tcl

on the second router

line vty 0 4

privilege level 15

password cisco

no login

so taht i bypass the password issue.

any idea??

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion