Emulex EMULEX manual Gethostattrs, Getportattrs index, wwn or all

Page 25

155130.03: 1002042:[4.00C9]emlxs0: DEBUG: 801: ELS comp. (GA_NXT: CT_ACC: Rsn=0 Exp=0 [01011500,210000e0])

get_host_attrs

Displays all of the current host HBA API attributes.

Example:

emlxadm>

get_host_attrs

 

 

Host Attributes:

 

 

Manufacturer

=

Emulex

Serial Number

=

BG42434343

Model

=

LP10000DC-S

Model Description

 

= EMULEX LIGHTPULSE LP10000DC-S 2GB PCI-X FIBRE

CHANNEL ADAPTER

 

 

Node

WWN

=

20000000C9409ED5

Node

Symbolic Name

=

none

Hardware Version

=

1001206d

Driver Version

=

2.00j.t4 (2005.01.18.16.38)

Optional ROM Version

=

1.50a2

Firmware Version

=

1.90a4

Vendor Specific ID

=

10df

Number of HBA ports

=

2

Driver Name

=

Emulex-Sun s10-64 sparc v2.00j.t4

Last

Change

=

1

fp Instance

=

1

Node

WWN

=

20000000C9409ED5

Port

WWN

=

10000000C9409ED5

Port

Fc Id

=

011000

Port

Type

=

Nport

Port

State

=

Online

Port

Supported COS

=

Class 3

Port

Supported Fc4 Types:

 

 

00, 00, 00, 00, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00

Port

Active Fc4 Types:

 

 

 

00, 00, 01, 20, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00,

 

00, 00, 00, 00, 00, 00, 00, 00

Port

Symbolic Name

 

= none

Port

Supported Speed

 

= 1Gb 2Gb

Port

Speed

 

= 1Gb

Port

Max Frame Size

 

= 0x800 bytes

Fabric Name

 

= 0000000000000000

Number of Discovered Ports = 5

get_port_attrs <index>, <wwn> or all

Displays the current HBA API port attributes. All of the port attributes can be displayed, or a single port can be specified by <index> or <wwn>. The total number of ports available can be seen in the "Number of Discovered Ports" attribute displayed using the get_host_attrs command. The <index> argument is an index into this list.

Example:

emlxadm> get_port_attrs all

Host Port Attributes:

Last Change

= 1

fp Instance

= 1

Node

WWN

=

20000000C9409ED5

Port

WWN

=

10000000C9409ED5

FCA Utilities Reference Manual

Page 21

Image 25
Contents FCA Utilities FCA Utilities Reference Manual Introduction Hba Using the emlxdrv UtilitySolaris Fibre Channel Stack Fibre Channel OverviewSolaris Software Stack Enter y. The following message is displayed Installing the UtilitiesRemoving the Utilities Using the emlxuremove Script Removing the Utilities Package Manually Installing the Utilities Package ManuallyTo remove the emlxu utilities package, do the following Updating the Utilities Package Manually Update the emlxu utilities by doing the followingModes of Operation emlxadm Interactive Mode emlxadmCLI Mode emlxadm Command Descriptions emlxadmGetdevlist GetnumdevsGetlogiparams wwpn FCA Utilities Reference Manual Getsympname GethostparamsSetsympname string GetsymnnameDevlogout Devlogin wwpnGetstate wwpn Devremove wwpnDownloadfcode filename GetbootrevGetfwrev Downloadfw filenameDownloads the specified boot image file to the HBA Example Downloadboot filenameGetdumpsize ForcedumpResethard Resetlink wwpn or zero for local linkResethardcore GettopologyType PID Returns a list of configurable parameters Example Returns the total number of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Gets the value of a specified parameter in the driver Parmget labelMsgbuf all or number -i interval Parmset label valueExample This example attempts to set a static parameter Getportattrs index, wwn or all GethostattrsDisplays all of the current host HBA API attributes Example Seagate ST39103FC = Seagate ST39103FC Getpath index Displays a help menu of utility commands ExampleExits the utility program Example Hba Repeats the last command ExampleModes of Operation emlxdrv Interactive Mode emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Setemlxs alias Command Descriptions emlxdrvSetemlxssun SetemlxsallSetlpfcnonsun Setlpfc aliasCleardev alias Clearemlxs ClearlpfcClearsun ClearnonsunClearall Emlxdrv q Exiting