cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10917
Views
10
Helpful
7
Replies

Automatic interface shutdown, when tracked interface goes down

Lubo1
Level 1
Level 1

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

7 Replies 7

b.hsu
Level 5
Level 5

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

k.welsch
Level 1
Level 1

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

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.

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

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.

Hi

can yo usend me also the config for the "track 11 setup" ?

thank you

Something like the following would work:

track 11 interface FastEthernet0/0 line-protocol

Review Cisco Networking for a $25 gift card