cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
0
Helpful
2
Replies

TCL SCRIPT NOT WORKING IN CISCO ROUTER 2921 with 4 Voice E & M interfaces

karunakj80
Level 1
Level 1

Hi, we have TCL Script configured in the Cisco 2921 Router to bounce the voice ports by forcing other Voice Port to DORMANT State.

TCS Script:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

event manager applet forcedshut

event snmp oid 1.3.6.1.2.1.2.2.1.8.16 get-type exact entry-op eq entry-vatry-type value exit-op eq exit-val "5" exit-type value poll-interval 3

action 1.0 syslog msg "Disconnecting Paging"

action 2.0 cli command "en"

action 3.0 cli command "conf t"

action 4.0 cli command "voice-port 0/1/1"

action 5.0 cli command "shut"

action 6.0 wait 2

action 7.0 cli command "no shut"

action 8.0 cli command "exit"

!

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

This Script is working fine for routers which have 2 Voice E&M ports and the non-working stores have 4:

WORKING:

3 Gigabit Ethernet interfaces

1 Serial interface

1 terminal line

12 Voice FXO interfaces

8 Voice FXS interfaces

2 Voice E & M interfaces

NON-WORKING:

3 Gigabit Ethernet interfaces

1 Serial interface

1 terminal line

12 Voice FXO interfaces

8 Voice FXS interfaces

4 Voice E & M interfaces


Both of them are running in same router model/ version of IOS.

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(2)T2, RELEASE SOFTWARE (fc1)

ROM: System Bootstrap, Version 15.0(1r)M9, RELEASE SOFTWARE (fc1)

System image file is "flash0:c2900-universalk9-mz.SPA.152-2.T2.bin"

Cisco CISCO2921/K9 (revision 1.0)

Can Dev Team take a look and let us know how to troubleshoot this one further?

Thanks, Janakiraman Karunakaran.

2 Replies 2

yawming
Cisco Employee
Cisco Employee

Is this EEM Tcl script, if it is maybe want to re-post here:

https://supportforums.cisco.com/community/5941/eem-scripting#quicktabs-community_activity=0

Thank you Yawchen, I have reposted my question there.