The cfgcreate
command is used to create a new zone configuration on a Brocade switch. A zone configuration is a collection of zones that define access control between devices within a Fibre Channel fabric. The command establishes the configuration and its initial members, which can be individual zones or a list of zones.
Once created, the configuration must be explicitly enabled using the cfgenable
command to make it active and saved with the cfgsave
command to ensure it persists after a switch reboot.
Key Steps in the cfgcreate
Process
- Define the Configuration Name: Provide a unique name for the new zone configuration.
- Add Members: Specify the zones to include in the configuration, separated by semicolons if there are multiple zones.
- Save and Activate: Use
cfgsave
to save the defined configuration andcfgenable
to apply it.
Cfgcreate Example
Creating a Zone Configuration
switch:admin> cfgcreate "DataCenterConfig", "ZoneA;ZoneB;ZoneC"
DataCenterConfig
: The name of the new zone configuration.ZoneA;ZoneB;ZoneC
: The initial zones being added as members of the configuration.
Saving the Configuration
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This will overwrite the existing zoning configuration in flash.
Do you want to continue (yes, y, no, n): y
Enabling the Configuration
switch:admin> cfgenable "DataCenterConfig"
You are about to enable the Effective configuration.
This action may disrupt existing traffic.
Do you want to continue (yes, y, no, n): y
zone config "DataCenterConfig" is in effect.
Key Points
cfgcreate
: Defines the zone configuration and its members.cfgsave
: Saves the configuration to nonvolatile memory.cfgenable
: Activates the configuration, applying the defined access control settings.