How monitor multiple dial-peer (Connect Time) ??
When this reaches the defined time accumulated connected (example: Connect Time = 10000) shutdown the dial-peer.
UC520#show dial-peer voice 2 | beg Connect
Connect Time = 1430, Charged Units = 0,
Successful Calls = 2, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 1445373634.
Last Disconnect Time = 1445375144.
enable dial-peer in a day of the month date concurrently (example: Every day 15 of each month)
clear statistics dial-peer voice 1
show dial-peer voice 1 | beg Connect Time
That this can be done automatically using EEM technology
This should be doable with an EEM policy. If I understand you correctly you want to watch for connect time to reach 10000 when it does you want to shutdown the dial peer.
And then enable every 1th day of each month.
The first part you would do with a watchdog EEM policy which periodically runs and checks the output of the show dial-peer voice 2 command.
The second part you probably would use a second EEM script to trigger on a cron timer set for the 15th day of the month, and have it run the commands you mentioned.
Hello Jason !!!!
I have very little experience with EEM and TCL script
Any help on this could be great.
Also to read manuals or recommend for these two technologies (EEM and TCL Script)?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: