Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

Is there a way to redirect command line output to a variable?

$
0
0

Hello,

 

Is there a way to redirect command line output to a variable in a config change script?

 

example:

 

CLI

{

     show run interface gi1/0/13 | redirect @CatchVariable

}

 

Or is this just not possible within the framework?

 

 

Thanks,

Ken Nelson


Viewing all articles
Browse latest Browse all 4266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>