HP StorageWorks Fabric OS 5.X Procedures User Guide (AA-RVHWB-TE, September 2005)

102 Routing traffic
Viewing routing information along a path
You can display detailed routing information from a source port (or area) on the local switch to a
destination port (or area) on another switch. This routing information describes the full path that a data
stream travels between these ports, including all intermediate switches.
1. Connect to the switch and log in as admin.
2. Issue the pathInfo command.
In interactive mode, you can specify the following parameters for display:
Max hops: The maximum number of hops that the pathinfo frame is allowed to traverse.
Domain: The destination domain ID.
Source Port: The port number (or area number for Core Switch 2/64, SAN Director 2/128, or
4/256 SAN Director) on which the switch receives frames.
Destination Port: The output port that the frames use to reach the next hop on this path. For
the last hop, the destination port.
Basic stats: Basic statistics on every link.
Extended stats: Detailed statistics on every link.
Trace reverse path: Traverses from the destination switch back to the source switches.
Source route: Forces the frame to follow a specified path to reach the destination.
Timeout: The maximum time to wait for a response from pathInfo, in seconds.
Paths always originate on the local switch. The path destination can be specified by domain or port. By
default, the path is the path taken by traffic from the source to destination port, but you can also specify
all or portions of a path.
See the HP StorageWorks Fabric OS 5.x command reference guide for details on the pathInfo
command.
The following example is from a SAN Switch 2/32 (other models provide similar information):
The information that pathInfo provides is as follows:
Hop: The hop number. The local switch is hop 0.
In Port: The port that the frames come in from on this path. For hop 0, the source port.
Domain ID: The domain ID of the switch.
switch:admin> pathinfo
Max hops: (1..127) [25]
Domain: (1..239) [-1] 1
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]
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 10 (SW3900) 15 2G 500
1 7 1 (swd3900TechPu E - -
switch.admin>