I have a requirement where, a python
script running in a Juniper router shell needs to execute some commands in vty
console of the FPC. I cannot use vty c
because it may not work properly in all platforms. However, I can use vty fpc0
and then execute the command and exit from there.
Is there a way to execute vty
command using PyEZ
? If yes, please provide the syntax.