12-31-2006 09:42 PM
is there a simple way i can configure the router to send me its dialer (dsl only) ip address everytime it changes? i am remotely managing the router and it's only connected through 4 DSLs dynamic IPs, no name is set for the router.
01-01-2007 08:28 AM
Hi Friend,
i know this answers not your question, but think about the dyndns.org service.
This service gives you a name resolution to your routers.
Have a look here
for the IOS 12.3.
Hope that helps a bit.
Best regards,
Frank
01-01-2007 09:00 AM
The Embedded Event Manager may be a solution here if your router's IOS supports it, and there is a supported event that occurs when the IP address changes (e.g. an interface comes up). This can be as simple as the following applet:
event manager applet int_up
event syslog pattern ".*UPDOWN.*Dialer0.*changed state to up"
action 1.0 cli command "enable"
action 2.0 cli command "show int dialer0 | inc Internet address"
action 3.0 mail server "10.1.1.1" to "me@company.com" from "me@company.com" subject "Dialer has come up" body "$_cli_result"
Of course, if it's not this simple, you may need to write a more complex applet, or switch to using an EEM TCL policy. More on EEM can be found at http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_book09186a008054dddf.html .
01-01-2007 02:35 PM
Hello, thanks, i tried your config, i think it works, i am just getting an error about SMTP server, because my SMTP server requires authentication, any idea what sort of command that works with such SMTP server that requires authentication?
01-01-2007 02:59 PM
EEM does not support authenticating SMTP servers. If you cannot use another server, you will have to go with some other means of notification such as syslog or an SNMP trap.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide