addza

Use the addza command to add a zone alias to a zone. You must have Administrator authority to use this command.

Syntax


1  tpctool addza  -user  user_name -pwd  password   -url  url  -fabric  WWN?  -help?   -silent  -zone zone  alias

Parameters and arguments

-user user_name
Specifies an IBM Spectrum Controlâ„¢ user ID.
-pwd password
Specifies the password for the IBM Spectrum Control user ID.
-url url
Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
-fabric WWN
Specifies the fabric. The WWN variable is the worldwide name (WWN).
-help | -h | -?
Lists help information for the command.
-silent
Suppresses all output for the command. If you omit this parameter, output is included.
-zone zone
Specifies the name of the zone where you want to add a zone alias.
alias
Specifies the name of the zone alias to be added to the zone.

Example: Adding a zone alias

The following commands add the PARIS zone alias to the EUROPE zone:
tpctool -user me -pwd mypass -url myhost:myport
tpctool> start -fabric 100000051E34F6A8
tpctool> addza -fabric 100000051E34F6A8 -zone EUROPE PARIS
tpctool> commit -fabric 100000051E34F6A8