beautypg.com

Adding a zone to a zone configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 152

background image

120

Network OS NETCONF Operations Guide

53-1003231-02

Zone configuration management

10

cfg-save

NOTE

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.

Adding a zone to a zone configuration

The following procedure adds a zone to a zone configuration and saves the modified zoning
configuration to nonvolatile memory.

1. Issue an RPC to configure the / node in the

urn:brocade.com:mgmt:brocade-zone namespace and add a node with the following
elements:

a. Include the element containing the name of the zoning configuration to which

you want to add zones.

b. Include a element for each zone you want to add to the configuration.

Each element must contain a element containing the
name of a zone.

2. Issue the RPC on the / node and set the value

of the element to “cfg-save” to save the modified configuration to nonvolatile
memory.

The following example adds zoneC to cfg3.

?xml version="1.0" encoding="UTF-8"?>

cfg3

zoneC