HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
XPath OS 7.4.x command reference guide 145
To display the link cost of all ports:
To set the link cost of port 1 to 1000:
To set the link cost of ports 6 through 8 to 2000:
See also
portCfgTopology
portDisable
portEnable
portShow
portType
switch:admin> linkcost
Interface Cost
----------------------
0 500
1 2000(STATIC)
2 500
3 500
4 (VE_PORT) 4000
5 500
6 (ISCSI) N/A
7 500
8 500
9 500
10 500
11 (VE_PORT) 1800(STATIC)
12 500
13 500
14 500
15 500
switch:admin> linkcost 1 1000
port 1 linkcost is set to: 1000
switch:admin> linkcost 6-8 2000
port 6 linkcost is set to: 2000
port 7 linkcost is set to: 2000
port 8 linkcost is set to: 2000