Skip to main content

Manual execution

The plugin execution format is as follows :

python3 ssh_inventory.py < host > < user > < password > < command > < command paging > < apply filter : 1 or 0 >

In case you need enable password :

python3 ssh_inventory.py < host > < user > < password / enable password > < command > < command paging > < apply filter : 1 or 0 >

Example of execution on cisco switch (with enable password):

python3 ssh-plugin.py 192.168.23.212 admin pandora/en4Bl3 "show running-config" "terminal length 0" 1


Example of execution in mikrotik switch (without enable password):

python3 ssh_inventory.py 192.168.87.21 admin pandora "system resource print" "" 1

Example of execution on switch A10 (with enable password):

python3 ssh-plugin.py 192.168.1.27 admin pandora/pandora "show running-config" "" 1