03-21-2012 04:26 AM
Does anyone has a procedure or guideline about how to perform a loopback test in a Brocade FC switch?
I have been reading the manuals and have seen commands such as spinfab, portloobacktest, but it is not very clear to me how they work...
I would like to generate traffic in a port, put a loopback plug in the other end of the fibre and see it errors are generated. Connecting a plug I have been able to test the link, but without traffic...
Is there a way to set an ISL port in 'loopback mode' and make some testing from the remote switch?
Any suggestion is highly appreciated,
03-21-2012 03:20 PM
For testing ISL links, I'd recommend spinfab. It is made to test ISLs. Here is a quick example testing E_Port 11:
porttest could also be used, even while the E_Port is still up. Another example on the same port (then monitoring with 'porttestshow'):
bro:admin> porttest -ports 11
bro:admin> porttestshow -ports 11
Port 11 : UNKNOWN
PortType: E PORT PortState: TESTING
PortInternalState: TX PortTypeToTest: ALL_PORTS
Pattern: 0xb Seed: 0xaa UserDelay: 10
TotalIteration: 20 CurrentIteration: 3
TotalFail: 0 ConsecutiveFail: 0
StartTime: Wed Mar 21 21:43:04 2012
Timeout: 0 ErrorCode: 0