Alias command – HP McDATA 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 111

Advertising
background image

McDATA® 4Gb SAN Switch for HP p-Class BladeSystem user guide 111

Alias command

Description Creates a named set of ports/devices. Aliases make it easier to assign a set of ports/devices to

many zones. An alias can not have a zone or another alias as a member.

Authority Admin session for all operands except List and Members

Syntax

alias

add [alias] [member_list]

copy [alias_source] [alias_destination]

create [alias]

delete [alias]

list

members [alias]

remove [alias] [member_list]

rename [alias_old] [alias_new]

Operands

add [alias] [member_list]

Specifies one or more ports/devices given by [member_list] to add to the alias named [alias].

Use a <space> to delimit ports/devices in [member_list]. An alias can have a maximum of

2000 members. A port/device in [member_list] can have any of the following formats:
• Domain ID and port number pair (Domain ID, Port Number). The domain ID in Standard

interop mode (default) should be unique and within the 97–127 range. This is equivalent to

1–31 when in McDATA Fabric interop mode. Port numbers can be 0–-255.

• 16-character hexadecimal world wide port name (WWPN) with the format

xx:xx:xx:xx:xx:xx:xx:xx.

The application verifies that the [alias] format is correct, but does not validate that such a

port/device exists.

copy [alias_source] [alias_destination]

Creates a new alias named [alias_destination] and copies the membership into it from the alias

given by [alias_source].

create [alias]

Creates an alias with the name given by [alias]. An alias name must begin with a letter and be

no longer than 64 characters. Valid characters are 0—9, A—Z, a—z, _, $, ^, and -. The zoning

database supports a maximum of 256 aliases.

delete [alias]

Deletes the specified alias given by [alias] from the zoning database. If the alias is a member of

the active zone set, the alias will not be removed from the active zone set until the active zone set

is deactivated.

list

Displays a list of all aliases. This operand does not require an Admin session.

members [alias]

Displays all members of the alias given by [alias]. This operand does not require an Admin

session.

remove [alias] [member_list]

Removes the ports/devices given by [member_list] from the alias given by [alias]. Use a <space>

to delimit ports/devices in [member_list]. A port/device in [member_list] can have any of the

following formats:
• Domain ID and port number pair (Domain ID, Port Number). Domain IDs can be 97–127;

port numbers can be 0–-255.

• 16-character hexadecimal world wide port name (WWPN) for the device with the format

xx:xx:xx:xx:xx:xx:xx:xx.

Advertising