beautypg.com

Zoning defined-configuration cfg – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1409

background image

Network OS Command Reference

1371

53-1003115-01

zoning defined-configuration cfg

2

zoning defined-configuration cfg

Creates a new zone configuration or adds a zone to an existing configuration.

Synopsis

zoning defined-configuration cfg cfgName

member-zone zoneName[ ; zoneName]…

no member-zone zoneName

no zoning defined-configuration cfg cfgName

Operands

cfgName

Specifies the name of the zone configuration.

member-zone zoneName

Specifies the name of a zone to be added to the configuration or removed
from the configuration.

Defaults

None

Command Modes

Global configuration mode

Zoning configuration mode

Description

Use this command to create a new zone configuration, to add new zones to an existing
configuration, or to remove member zones from a configuration.

This command enters a subconfiguration mode where you can specify the names of the member
zones to be added to the configuration or removed from the configuration.

Usage Guidelines

This command is supported only in Brocade VCS Fabric mode. Zoning configuration data are
automatically distributed among all RBridges in the VCS Fabric. Standalone mode is not
supported.

This command can be entered on any RBridge in a Brocade VCS Fabric, but it is always executed
on the principal RBridge in fabric cluster mode. In logical chassis cluster mode, edits can be
performed only from the principal RBridge.

The zoning defined-configuration cfg command changes the defined configuration. To save the
configuration persistently, issue the zoning enabled-configuration cfg-action cfg-save command.
For the change to become effective, enable the configuration with the zoning
enabled-configuration cfg-name command.

Enter member-zone zoneName[;zoneName]… in the subconfiguration mode to add one or more
zones. When adding multiple zones in a single command line, the zones are added sequentially
until all zones are added or the first error is encountered.

Enter no member-zone zoneName in the subconfiguration mode to remove a member zone from
the configuration. You can remove only one member zone each time you enter the
no member-zone command.

If you enable a zone configuration, the members in that zone configuration must be populated
with at least one zone member-entry (a WWN or an alias); otherwise the enable operation fails.

If you remove the last zone from the configuration and subsequently commit the configuration, the
commit operation deletes the configuration.

Enter no zoning defined-configuration cfg cfgName to delete a configuration.