rmzoneports
Use the rmzoneports command to remove switch ports from a zone. This command must be run as a transaction. You must have Administrator authority to use this command.
Syntax
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).
- -zone zone
- Specifies the zone. The zone variable is the name of the zone.
- -help | -h | -?
- Lists help information for the command.
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
- ports | -
- Specifies the switch ports. The ports variable is a list of worldwide port names (WWPNs). If you specify a single dash (-), the WWPNs are read from standard input.
Example: Removing switch ports from a zone set
The
following commands remove several switch ports from the SUNSOLARIS
zone. The list of WWPNs is read from standard input:
tpctool> start -user me -pwd mypass -url myhost:myport -fabric 100000051E34F6A8
tpctool> rmzoneports -fabric 100000051E34F6A8 -zone SUNSOLARIS -
tpctool> commit -fabric 100000051E34F6A8