12-21-2015 12:52 PM - edited 03-01-2019 02:52 AM
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.
12-21-2015 01:11 PM
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
12-21-2015 03:23 PM
Thank you Yawchen, I have reposted my question there.
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