I am looking to see if there is a CLI command for MDS 9124 running NX-OS that will dispaly all the ports and show me if there are any errors on them whether the are bad cables or such. I need a command that will show me loss of sync or maybe SFP errors.
I am more of a brocade guy and they have a command called "porterrorshow" that will do that.
I am having some issues with ESX boxes that keep losing connection to the switches. They show up in connectivity manager as not logged in. Well let me say that some of the intiators for a single host will show up as not logged in and the others are just fine.
Ya that one has a lot of info. to bad i dont know what it all means:)
I need to find out what it will dispaly if say i have a bad cable or SFP.
On Brocade when you run that porterrshow command, normally we see that enc_out erros point to a bad cable while a combination of enc_out & crc_err point to a bad GBIC/SFP.
Problem is that at this moment i cant run these commands on the swtiches in question as i am at a different site... So i am running them on known good switches just to see the output.
ya. was seeing if the Cisco guys might shed some light:)
Pretty much what i found out is that you can do a "show int counters" and if you have readings under the OLS,LRR or NOS sections, they point to a bad cable/SFP.
You can have a look on all the ports on MDS 9124 by the command :-
show interface brief
this will give you a table of the of the ports Vsan they belong to, modes, type of SFP and their speer etc. Once you have this list you may get the ports which you see as errorDisabled. Then to check that port you may give this command:-
show interface fc
this will give you the details of that port only.
frames input & frames output will be equivalent to Frames Tx & Rx in Brocade porterrshow and so on the errors are also listed.
There is no equivalent of Brocade's, 'porterrshow', in MDS switches, this is the how the same thing is represented in Cisco. If the errors are increasing then you may suspect the cable and have a reseat/replace of the cable done. If this does not resolve the issue you may suspect the SFP/GBIC. However if the port is connected to a number of other devices in the path from it to the other device (as in case of long distance links), the errors may be caused by any of the devices in path for example even a patch panel may introduce fault in the signal.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
6722
1
Posted June 10th, 2010 07:00
I would start out with “show int” ..i’ll keep looking.