Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Creating a zone configuration

A zone configuration cannot persist without any member zones. When creating a new zone configuration, the zoning defined-configuration cfg command places you in a command sub-configuration mode where you must add at least one member zone. While zone configurations without any member zones can exist in volatile memory, they are deleted when the transaction commits successfully.

The following procedure adds a new zone configuration to the defined configuration.

  1. In privileged EXEC mode, enter the configure terminal command to enter global configuration mode.
  2. Enter the zoning defined-configuration cfg command and enter a new configuration name.

    A subconfiguration mode prompt appears.

  3. Enter the member-zone subconfiguration mode command and specify the name of at least one zone.

    Add multiple zones in one operation by separating each zone name with a semicolon (;).

  4. Enter the exit command to return to global configuration mode.
  5. Enter the zoning enabled-configuration cfg-action cfg-save command to save the modified configuration to nonvolatile memory.

    Example of creating a zone configuration with one member zone:

    switch# configure terminal
    Entering configuration mode terminal
    switch(config)# zoning defined-configuration cfg config1
    switch(config-cfg-config1)# member-zone zone1
    switch(config-cfg-config1)# exit
    switch(config)# zoning enabled-configuration cfg-action cfg-save 
    Zone aliases are not valid zone configuration members. Adding an alias to an existing zone configuration will not be blocked. However, the attempt to enable a zone configuration that contains aliases will fail with an appropriate error message.