cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1166
Views
0
Helpful
1
Replies

Script for output

opnineopnine
Level 1
Level 1

HI all, 

 

I'm would like to know if there's any way I can create a script where I can get different outputs.

 

Example:

I would like to have in one output 

sh voice port summary

sh call activce voice compact.

 

 

Thanks all.

 

 

 

 

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

There are a number of ways to do this.  But perhaps the simplest would be:

 

event manager applet get-voice-info

 event none

 action 001 cli command "enable"

 action 002 cli command "show voice port summary"

 action 003 puts $_cli_result

 action 004 cli command "show call active voice compact"

 action 005 puts $_cli_result

 

Run this with:

 

event manager run get-voice-info