Getsessioninfo, Getvpd – Dell Emulex Family of Adapters User Manual

Page 1358

Advertising
background image

OCM for VMware vCenter Version 10.2 User Manual

P009805-01A Rev. A

11. Using OneCommand Manager for VMware vCenter Command Line Interface

The Command Reference

1358

getsessioninfo

Syntax

elxvcpcmd.exe v=<vcenter_server> u=<vc_username> p=<vc_password>

h=<esx_host> getsessioninfo <MAC> <Target> <TSIH | <ISID_Qual Target_IP>>

Description

This command lists all session information for a specified session. You must specify the

iSCSI target name <Target> and either the TSIH <TSIH> of the session or the session's

ISID Qualifier <ISID_Qual> and the target's IP address <Target_IP>. These parameters

tell the command to gather the information from the specified target and session. You

can find the TSIH and ISID qualifier by running the ListSessions command.

Parameters

Note: You must specify either the TSIH value or the ISID qualifier. If ISID qualifier is

specified you must also specify the Target’s ID address.

getvpd

Syntax

elxvcpcmd.exe v=<vcenter server> u=<vc_username> p=<vc_pwd> <h=ESXhostIP>

getvpd <WWPN | MAC>

Description

This command shows the VPD details for the specified port on the adapter.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

h

The IP address of the ESXi host with Emulex adapters.

WWPN

The WWPN of a port on the ESXi host with Emulex adapters.

MAC

The MAC address of the NIC or iSCSI port.

v

The vCenter server IP address.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

h

The IP address of the ESXi host with Emulex adapters.

MAC

The MAC address of the iSCSI port.

Target

The target’s iSCSI name enclosed in quotes (string length:11-255).

TSIH

The TSIH value of the session (value: 1-65535).

ISID_Qual

The ISID qualifier of the session (value: 0-65535).

Target_IP

The Target's IP address.

Advertising