Python Forum

Full Version: search interface description
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I am trying to find a way that through code with Python I can search for the description of the interface in the switch. This can be a type of executable file with a .py extension or an executable file that asks: "Which port are you looking for" I will enter into the software the text I am actually looking for. Is there such a library or something like that?

The product that introduces me to the port is an HP5500 switch. This is a switch that can also be sampled in SNMP and SSH. To the product page:

https://support.hpe.com/hpesc/public/doc...02618117-2

I will demonstrate enter image description here

I want to search for the word ** UP LINK TO IRF ** inside the same exit file

And let the output show me which port the switch is on my network

** The result should be such that the output will show me the IP address and port number on the switch