03-08-2019 09:32 AM
I am trying to develop a python script to collect switchshow or portshow output which includes reflecting WWPNs for F-Ports from more than 400 switches...
I don't understand why in the world, Brocade CLI doesn't allow SED/AWK/TR/CUT but with limited options with GREP and for NPIV, it gets ugly. I am using paramiko to make the ssh connections and generate bulk of data from more than 400 switches. However, is there a easy command then portshow/switchshow to get the reflecting switch port WWPNs or better way to collect such data through CLI?
03-08-2019 01:06 PM
03-08-2019 10:33 PM
If the switches are being managed with Brocade Network Advisor (BNA) the best option is to use BNA REST API. You can get all the info conveniently in 1 place and even when new switches are added your script can take notice of them without any further effort.
03-14-2019 06:24 PM
03-15-2019 10:57 AM