McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)
26
Verifying a switch in the network
You can verify that a switch is communicating in the network using the Ping command. The following
example successfully tests the network for a switch with IP address 10.20.11.57:
McDATA4GbSAN #> ping 10.20.11.57
Ping command issued. Waiting for response...
McDATA4GbSAN #>
Response successfully received from 10.20.11.57.
If the switch is unreachable, you will see the following display:
McDATA4GbSAN #> ping 10.20.11.57
Ping command issued. Waiting for response...
No response from 10.20.11.57. Unreachable.
See the ”Ping command” on page 129.
Verifying and tracing fibre channel connections
You can verify Fibre Channel connections between the switch and the fabric and display routing
information. The target device can be defined as a Fibre Channel address or a World Wide Name
(WWN). Enter the Fcping command to verify a Fibre Channel connection to a switch or a device as
shown in the following example:
McDATA4GbSAN #> fcping 970400 count 3
28 bytes from local switch to 0x970400 time = 10 usec
28 bytes from local switch to 0x970400 time = 11 usec
28 bytes from local switch to 0x970400 time = 119 usec
The following is an example of a connection failure:
SANbox #> fcping 0x113344 count 3
28 bytes from local switch to 0x113344 failed
Enter the Fctrace command to display Fibre Channel routing information between two devices as shown
in the following example. The devices can be defined as Fibre Channel addresses or WWNs.
McDATA4GbSAN#> fctrace 970400 970e00 hops 5
36 bytes from 0x970400 to 0x970e00, 5 hops max
Domain Ingress Port WWN Port Egress Port WWN Port
------ ---------------- ---- --------------- ----
97 20:04:00:c0:dd:02:cc:2e 4 20:0e:00:c0:dd:02:cc:2e 14
97 20:0e:00:c0:dd:02:cc:2e 14 20:04:00:c0:dd:02:cc:2e 4
See the ”Fcping command” on page 108.
See the ”Fctrace command” on page 109.