07-07-2005 12:06 AM
Hi all,
does anybody know how to shutdown router's interface (D channel on E1-ISDN) when tracked interface (FR PVC) goes down?
The scenario is, that PBX is connected to router (voice gateway) and also PSTN via 2 E1s. The router has also 2 IP routes to the destination, but only Frame relay PVC should be used for voice, not backup MPLS. When PVC goes down, I need to automaticly shutdown also router's E1 interface, so PBX recognizes this and routes calls via PSTN. I played with IOS Embedded Event Manager, but can not shutdown physical interface using "action track set". Maybe there is another way...
Thank you,
Lubomir
07-13-2005 05:49 AM
For a complete description of the channelized E1/T1 commands in this chapter, refer to the Dial Solutions Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/dial_c/dcchant.htm
09-13-2006 05:45 PM
Hello Lubomir
do you have a running solution for this problem?
i have the same requirement to shutdown a E1 when my ethernet is down
kind regards
09-13-2006 11:05 PM
The Embedded Event Manager in IOS 12.4(2)T and higher can integrate with Object Tracking, and will allow you to run a script or IOS commands when the object state changes. With this, you could down the interface easily. If you are interested in this, let me know, and I can give you an example.
09-13-2006 11:10 PM
Hi
Thank you, yes if it is possible for you please send me a example.
i need the this funcionality in the case if my ethernet is down. The E1 must also go down that the provider also take the redundant gateway for incoming calls
Thank you
09-13-2006 11:21 PM
Assume you have track 11 setup to watch the interface you care about. You want to shutdown interface Serial0:31 as well in that case:
event manager applet ethertrack
event track 11 state down
action 1.0 syslog msg "Ethernet interface is down; shutting down Serial0:31"
action 2.0 cli command "enable"
action 3.0 cli command "config t"
action 4.0 cli command "interface ser0:31"
action 5.0 cli command "shut"
action 6.0 cli command "end"
action 7.0 syslog msg "Serial0:31 is now down"
Again, this requires 12.4(2)T or higher to be running on the router. It is only an example, but it will take down the serial interface when the tracked object goes down. You could also create a similar applet to watch for the object state to go up, then bring back up the Serial interface.
09-14-2006 07:02 AM
Hi
can yo usend me also the config for the "track 11 setup" ?
thank you
09-16-2006 08:35 PM
Something like the following would work:
track 11 interface FastEthernet0/0 line-protocol
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