beautypg.com

Removing a zone from a zone configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 153

background image

Network OS NETCONF Operations Guide

121

53-1003231-02

Zone configuration management

10

cfg-save

Removing a zone from a zone configuration

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

NOTE

You can remove only one zone at a time.

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

the urn:brocade.com:mgmt:brocade-zone namespace and specify 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 the zone you want to remove from the

configuration. The element must contain a element
containing the name of a zone.

c. Include the delete operation in the tag.

2. Issue the RPC to configure the / node in the

urn:brocade.com:mgmt:brocade-zone namespace and set the value of the
element to “cfg-save” to save the modified configuration to nonvolatile memory.

NOTE

Saving the configuration to nonvolatile memory deletes the configuration if the zone you are
removing is the last member in the configuration.

The following example removes zoneA from cfg3 and saves the configuration to nonvolatile
memory.

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

cfg3

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete">

zoneA