Alias command, Examples, Alias – HP 2/8q Fibre Channel User Manual

Page 118: Command, Authority syntax keywords

Advertising
background image

Command Line Interface

118

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

Examples

The following example shows how to open and close an Admin session:

2/8q FC Switch #> admin start

2/8q FC Switch (admin) #>

.

.

.

2/8q FC Switch (admin) #> admin end

2/8q FC Switch #>

Alias

command

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 keywords except

List

and

Members

.

Syntax

ALIAS

Keywords

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. The application verifies that the [alias] format is correct,
but does not validate that such a port/device exists. 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

1–-239; port numbers can be 0–-255.

— 6-character hexadecimal device Fibre Channel address (hex)

— 16-character hexadecimal worldwide port name (WWPN) with the format

xx:xx:xx:xx:xx:xx:xx:xx

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.

Advertising
This manual is related to the following products: