4-21 modifyport, Table 4-52 modifyport command parameters, Y y y – HP XP Command View Advanced Edition Software User Manual

Page 146

Advertising
background image




Command line interface commands



146

4-4-21 ModifyPort

ModifyPort

changes port and host storage domain attributes (see parameters in

Table 4-52

,

Table 4-53

, and

Table 4-54

).

A user to whom a user-defined resource group is assigned, and who has only View permission
cannot execute this command.

Format for the XP24000/XP20000 and XP12000/XP10000/SVS200:

hdvmcli [URL] ModifyPort [option] serialnum=serial-number model=model {port=
port-number
|portname= port-name} [topology=new-port-topology] [fibreaddr=new-
fibre-channel-address-for-the-port
] [channelspeed={0|1|2|4}]
[lunsec={true|false}] [domain=domain-ID] [nickname={new-host-storage-domain-
name
|existing-host-storage-domain-name}] [newdomainnickname=new-host-storage-
domain-name
]] [hostmode=new-host-mode-for-the-port] [hostModeOption=new-host-
mode-option-list
] [wwn=WWN wwnnickname=WWN nickname]

[wwn=WWN

newwwnnickname=new-WWN-nickname][wwnnickname=WWN-nickname newwwnnickname=new-
WWN-nickname
]

Format for the XP1024/XP128:

hdvmcli [URL] ModifyPort [option] serialnum=serial-number model=model {port=
port-number
|portname= port-name} [topology=new-port-topology] [fibreaddr=new-
fibre-channel-address-for-the-port
] [channelspeed={0|1|2}]
[lunsec={true|false}] [domain=domain-ID] [nickname={new-host-storage-domain-
name
|existing-host-storage-domain-name}] [newdomainnickname=new-host-storage-
domain-name
] [hostmode=new-host-mode-for-the-port] [wwn=WWN wwnnickname=WWN
nickname
]

[wwn=WWN newwwnnickname=new-WWN-nickname][wwnnickname=WWN-nickname

newwwnnickname=new-WWN-nickname]

Format for the XP512/XP48:

hdvmcli [URL] ModifyPort [option] serialnum=serial-number model=model {port=
port-number
|portname= port-name} [topology=new-port-topology] [fibreaddr=new-
fibre-channel-address-for-the-port
] [lunsec={true|false}] [domain=domain-ID]
[hostmode=new-host-mode-for-the-port]

Table 4-52

ModifyPort command parameters

Parameter Name Status

Description

serialnum

Required

Serial number of the port's storage array

model

Required

Model of the port's storage array

port

Optional

Number of the port

NOTE:

Specify either port or portname. Do not specify both parameters

at the same time. This might cause an error to occur.

portname

Optional Port

name

NOTE:

Specify either port or portname. Do not specify both parameters

at the same time. This might cause an error to occur.

topology

Optional

New topology value for the port
Possible values are as follows:
For XP24000/XP20000, XP12000/XP10000/SVS200, XP1024/XP128, and
XP512/XP48:

Fabric(on), FC-AL

Fabric(off), FC-AL

Fabric(on), Point-to-Point

Fabric(off), Point-to-Point

Advertising