I am trying to get the output of "show vlan " so I can manipulate the data in a python script, yet my script stalls on the following line: exsh.clicmd("show vlan", True)
When I kill the script I get the following error: TypeError: 'NoneType' object is not callable
This error does not occur with other commands, like "show fdb vlan 1". I have tried "disable clipaging" since I thought it might be a problem with Python waiting for more data that isn't coming, but that didn't work.
Is there something I am missing, or is it possible that the output of "show vlan" is too large for Python to deal with? This switch has over 700 VLANs.