Fabric OS には fcping, pathinfo というコマンドがある。
fcping は文字通り、fibre channelにおける "ping" コマンドだ。ただし、対象のポートが ELS ECHO に対応していないと ECHO が帰ってこない。また、ECHOフレームは、embedded port から送られているように見える。
pathinfo は "traceroute" に相当するコマンドだと思ってもらえばいいだろう。スイッチから当該のスイッチ(デバイスではない)までの経路を表示してくれる。FCの場合、行きと帰りでパスが違うこともありうるので、往復の経路を表示したりすることも可能。
#ただし、Dynamic Path Selection などもあるため、つど経路が異なりうる
#SID/DID/OXID でハッシュすれば当然ですな
fcping はこんな感じ
switch:admin> fcping 10:00:00:00:c9:29:0e:c4 21:00:00:20:37:25:ad:05
Source: 10:00:00:00:c9:29:0e:c4
Destination: 21:00:00:20:37:25:ad:05
Zone Check: Not Zoned
Pinging 10:00:00:00:c9:29:0e:c4 [0x20800] with 12 bytes of date:
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1162 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1013 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1442 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1052 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1012 usec
5 frames sent, 5 frames received, 0 frames rejected, 0 frames timeout
Round-trip min/avg/max = 1012/1136/1442 usec
Pinging 21:00:00:20:37:25:ad:05 [0x211e8] with 12 bytes of data:
Request rejected
Request rejected
Request rejected
Request rejected
Request rejected
5 frames sent, 0 frames received, 5 frames rejected, 0 frames timeout
Round-trip min/avg/max = 0/0/0 usec
pathinfo はこんな感じ
switch:admin> pathinfo
Max hops: (1..127) [25]
Domain: (1..239) [-1] 2
Source port: (0..255) [-1]
Destination port: (0..255) [-1]
Basic stats (yes, y, no, n): [no]
Extended stats (yes, y, no, n): [no]
Trace reverse path (yes, y, no, n): [no] y
Source route (yes, y, no, n): [no]
Timeout: (1..30) [10]
Target port is Embedded
Hop In Port Domain ID (Name) Out Port BW Cost
-----------------------------------------------------------------------------
0 E 21 (switch) 7 2G 500
1 14 3 (sw3800) 15 2G 500
2 6 2 (SW3250) E - -
Reverse path
3 E 2 (SW3250) 6 2G 500
4 15 3 (sw3800) 14 2G 500
5 7 21 (switch) E - -