Quickly finding what port a WWN is associated with on a Cisco SAN
If you are like pretty much everyone I know who lives in the Storage World you seldom know what port on your SAN Fabric a WWN is connected with. With Cisco you end up using device manager or fabric manager to try and find it – it works but I’m a command line kind of guy… So I end up logging into each switch in my fabric and doing the ole “show flogi database” routine.. If you’ve got a switch or two it’s not that painful, but when you grow beyond that it’s just plain annoying. I’m tired of doing that. I’m tired of logging in to countless switches until I come across the correct switch. I finally got annoyed enough to do something about it. I decided to write a simple Perl script to automate the whole process. Check out the results below: [box] cincystorage@symcliserver pub $ ./flogi_search.pl 51 192.168.1.50,fc3/21,50:00:09:72:08:3b:81:51 192.168.1.50,fc4/25,20:11:00:11:0a:00:4a:51 192.168.1.50,fc4/26,20:12:00:11:0a:00:4a:51 192.168.1.50,fc4/19,10:00:00:00:c9:88:7b:51 [/box] Read More →