Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Enabling a zone configuration

Only one zone configuration can be enabled in a VCS Fabric. The following procedure selects a configuration from the defined configuration and makes it the enabled configuration. If a zone configuration is currently enabled, the newly enabled configuration replaces the previously enabled configuration.

  1. In privileged EXEC mode, enter the configure terminal command to enter global configuration mode.
  2. Enter the zoning enabled-configuration cfg-name command with the name of the configuration you want to enable.

    In addition to enabling the specified configuration, this command also saves any changes made to the zoning database in volatile memory to nonvolatile memory. The saved configuration is persistent.

    If the configuration refers to a nonexistent zone or a zone with no members assigned to it, the operation fails and the command returns an error message. The following example enables config1.

    Example of enabling a zone configuration:

    switch# configure terminal
    Entering configuration mode terminal
    switch(config)# zoning enabled-configuration cfg-name config1

    Example of a failed enable operation:

    The enable operation fails because the configuration contains a zone without members.

    switch(config)# do show running-config zoning
    zoning defined-configuration cfg cfg1
    member-zone zone2
    zoning defined-configuration zone zone1 <------------Zone with no member
    zoning defined-configuration zone zone2
    member-entry 20:03:00:11:0d:bc:76:09
    zoning enabled-configuration cfg-name ""
    zoning enabled-configuration default-zone-access allaccess
    zoning enabled-configuration cfg-action cfg-none
    switch(config)# zoning enabled-configuration cfg-name cfg1
    % Error: Command Failed. Cfg contains empty zone object "zone1"