How to add zone to the brocade zoning configuration? | cfgadd

Photo of author
Written By Amit Singh

I am a technology enthusiast with 15 years of experience in SAN and NAS Storage. 

The cfgadd command is used to add one or more members (zones) to an existing zoning configuration on a Brocade switch. This operation modifies the defined zoning configuration but does not immediately apply the changes. To activate the updated configuration, you must explicitly enable it using the cfgenable command.

Key Steps in the cfgadd Process

Save and Activate Changes: After using cfgadd, the changes must be saved with the cfgsave command and applied with the cfgenable command to take effect.

Select the Configuration: Specify the name of the zoning configuration to which you want to add members.

Define Members: Provide the name(s) of the zone(s) to be added as members of the configuration. Multiple members can be specified in a semicolon-separated list.

Cfgadd Example

Add a Zone to an Existing Configuration
Use the cfgadd command to add a zone to an existing configuration:

switch:admin> cfgadd "FabricConfig1", "ZoneRed"  

In this example:

  • "FabricConfig1" is the name of the existing zone configuration.
  • "ZoneRed" is the zone being added.

Save the Configuration
After making changes, save the configuration to nonvolatile memory using the cfgsave command:

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

This ensures the changes persist across reboots.

Enable the Configuration
Apply the configuration to make it active with the cfgenable command:

switch:admin> cfgenable "FabricConfig1"  
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 "FabricConfig1" is in effect.

Key Points

  • cfgadd: Adds zones to a configuration.
  • cfgsave: Saves the defined configuration to ensure changes persist after reboots.
  • cfgenable: Activates the defined configuration, which may disrupt traffic.

Brocade zoning Video – Cfgadd

I am a technology enthusiast with 15 years of experience in SAN and NAS Storage. I work with one of the fortune 500 companies as SAN Storage Architect.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.