HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 77
modify wwn
Description Use this command to modify the WWN and WWN nickname of a host. You must enable LUN
security before using this command (see modify lun_security, page 76).
Syntax modify wwn <portname>, <HostGrpNickName>, <oldwwn/oldwwnNickName>
[-wwn <newWwn> | -nickname <newWwnNickName>]
Arguments <portname>
The port whose WWN or WWN nickname is to be modified. <portname> must be specified
as one port. Port names must be specified in truncated form (for example, 1A and not CL1-A)
because the hyphen (-) is used to specify a range.
<HostGrpNickName>
The host group nickname whose WWN or WWN nickname is to be modified. Only one
<hostgrpnickname> can be specified.
<oldwwn/oldwwnNickName>
The WWN or WWN nickname whose WWN or WWN nickname has to be modified. Only
one <oldwwn/oldwwnNickName> can be specified.
[-wwn <newWwn>]
Modifies the WWN value (the worldwide name value for the host). This must be a 16-digit
hexadecimal value and must be unique within the port. -wwn must be specified if -nickname is
not specified, and cannot be used with -nickname.
[-nickname <newWwnNickName>]
Modifies the WWN nickname. WwnNickname is the nickname used for a WWN. WWN
nicknames are unique for a port, and must not be the same as any host group nickname within
the port. -nickname must be specified if -wwn is not specified, and cannot be used with -wwn.
Example
modify wwn 1A,nick1,wwnnick1 -wwn JJKHKJHHJGH23423
modify wwn 1A,nick1,wwnnick1 -nickname wwnnick1