Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Script for output

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.

 

 

 

 

Everyone's tags (1)
1 REPLY
Cisco Employee

There are a number of ways to

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

71
Views
0
Helpful
1
Replies