Aug-07-2017, 09:07 AM
I need to capture an output of a CLI "show lic ?" in a variable or in buffer.
How to do it in python. I was using tcl where it has "receive_buffer" to capture it, not sure how to do it on python.
Please find the output below
Switch#show lic ?
comments Displays comments about the licenses.
feature-version Indicates the version of the feature that is using or can
use this license.
right-to-use Displays all the RTU licenses.
How to do it in python. I was using tcl where it has "receive_buffer" to capture it, not sure how to do it on python.
Please find the output below
Switch#show lic ?
comments Displays comments about the licenses.
feature-version Indicates the version of the feature that is using or can
use this license.
right-to-use Displays all the RTU licenses.