beautypg.com

Zoneremove – Dell POWEREDGE M1000E User Manual

Page 1146

background image

1118

Fabric OS Command Reference

53-1002746-01

zoneRemove

2

zoneRemove

Removes a member from a zone.

SYNOPSIS

zoneremove "zonename", "zoneMemberList"

DESCRIPTION

Use this command to remove one or more members from an existing zone.

If all members are removed, the zone is deleted.

This command changes the defined configuration. For the change to be preserved across switch
reboots, save the configuration to nonvolatile memory with the cfgSave command. For the change to
become effective, enable the configuration with the cfgEnable command.

NOTES

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.

When an FCS policy is enabled, this command can be issued only from the primary FCS switch.

OPERANDS

The following operands are required:

"zonename"

Specify the name of the zone from which to remove a member. Double quotation
marks are optional.

"zoneMemberList"

Specify a member or a list of members to be removed from the specified zone.
The list must be enclosed in double quotation marks. Members must be separated
by semicolons. A member can be one or more of the following:

A switch domain and port index pair: for example, "2,20". Use switchShow
for a list of valid port index numbers.

A world wide name

A zone alias name

Zone alias pattern. Use a pattern preceded by the wildcard symbol asterisk
(*) to include members in the zone that matches the pattern.

EXAMPLES

To remove "array2" from "Blue_zone":

switch:admin> zoneremove "Blue_zone", "array2"

To remove all the members and aliases matching a pattern:

switch:admin> zoneremove matt,"30:06:00:07:1e:a2:10:20; ja*; 3,2"
switch:admin> cfgshow
Defined configuration:
zone: matt zeus; bond; jeff; jones
zone: sloth bawn; bolt; bond; brain; brit; \
bru; 10:00:00:00:01:1e:20:20
alias: bawn 3,5; 4,8
alias: bolt 10:00:00:02:1f:02:00:01
alias: bond 10:00:05:1e:a9:20:00:01; 3,5
alias: brain 11,4; 22,1; 33,6
alias: brit 12,1
alias: bru 5,3; 12,4
alias: geek 2,7; 4,11; 20:10:00:05:1e:a9:20:87
alias: jake 4,7; 8,9; 14,11
alias: jeff 30:00:00:05:1e:a1:cd:02; \