Emulex EMULEX manual Type PID

Page 20

Tests:

 

 

emlx_biu [pattern]

- Performs the

Bus Interface Unit test.

emlx_echo <did> [pattern]

- Performs the ECHO test to a specified port id.

emlx_post

- Performs the

Power-On Self Tests.

Parameters:

pattern - 4 byte hex pattern to be used for test. (e.g. 0xA5A5A5A5)

Example:

emlxadm> diag emlx_biu

Result: EMLX_DIAG_BIU: Operation successful.

or

emlxadm> diag emlx_echo fffffc

Result: EMLX_DIAG_ECHO: Operation successful.

or

emlxadm> diag emlx_post

Result: EMLX_DIAG_POST: Operation successful.

Example:

emlxadm> diag code 0x4526

Result: CODE(0x4526): 16 (0x10)

Note: The return status from the HBA is displayed in decimal and hexadecimal if the diagnostic code is valid for the HBA. No interpretation of the return status is provided.

ns

Performs and returns a complete query of the fabric name server.

Example:

emlxadm> ns

Nameserver:

-----------------------------------------------------------------

TYPE:

02

 

PID:

0113E1

 

WWPN:

21000020371938fa

 

PORT_NAME:

(SEAGATE ST39103FC

0004)

WWNN:

20000020371938fa

 

NODE_NAME:

(null)

 

IPA:

ffffffffffffffff

 

IP_ADDR:

0.0.0.0

 

CLASS:

8

 

FC4_TYPES:

 

 

00000100,00000000,00000000,00000000,00000000,00000000,00000000,00000000

-----------------------------------------------------------------

TYPE:

02

 

PID:

0113E2

 

WWPN:

21000020371939a2

 

PORT_NAME:

(SEAGATE ST39103FC

0004)

WWNN:

20000020371939a2

 

NODE_NAME: (null)

 

IPA: ffffffffffffffff

 

IP_ADDR: 0.0.0.0

 

CLASS:

8

 

FC4_TYPES:

 

 

00000100,00000000,00000000,00000000,00000000,00000000,00000000,00000000

FCA Utilities Reference Manual

Page 16

Image 20
Contents FCA Utilities FCA Utilities Reference Manual Introduction Using the emlxdrv Utility HbaFibre Channel Overview Solaris Fibre Channel StackSolaris Software Stack Installing the Utilities Enter y. The following message is displayedRemoving the Utilities Using the emlxuremove Script To remove the emlxu utilities package, do the following Installing the Utilities Package ManuallyRemoving the Utilities Package Manually Update the emlxu utilities by doing the following Updating the Utilities Package ManuallyInteractive Mode emlxadm Modes of Operation emlxadmCommand Descriptions emlxadm CLI Mode emlxadmGetlogiparams wwpn GetnumdevsGetdevlist FCA Utilities Reference Manual Gethostparams GetsympnameSetsympname string GetsymnnameDevlogin wwpn DevlogoutGetstate wwpn Devremove wwpnGetbootrev Downloadfcode filenameGetfwrev Downloadfw filenameDownloadboot filename Downloads the specified boot image file to the HBA ExampleGetdumpsize ForcedumpResetlink wwpn or zero for local link ResethardResethardcore GettopologyType PID Returns the total number of configurable parameters Example Returns a list of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Parmget label Gets the value of a specified parameter in the driverExample This example attempts to set a static parameter Parmset label valueMsgbuf all or number -i interval Displays all of the current host HBA API attributes Example GethostattrsGetportattrs index, wwn or all Seagate ST39103FC = Seagate ST39103FC Exits the utility program Example Displays a help menu of utility commands ExampleGetpath index Repeats the last command Example HbaEmlxdrv utility program can be run in two modes Interactive Interactive Mode emlxdrvModes of Operation emlxdrv CLI Mode emlxdrv Command Descriptions emlxdrv Setemlxs aliasSetemlxssun SetemlxsallCleardev alias Setlpfc aliasSetlpfcnonsun Clearlpfc ClearemlxsClearsun ClearnonsunClearall Emlxdrv q Exiting