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

Network OS NETCONF Operations Guide
117
53-1003231-02
Zone creation and management
10
</member-entry>
</zone>
</defined-configuration>
<enabled-configuration>
<cfg-action>cfg-save</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="614" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Removing a member from a zone
The following procedure removes a WWN from a zone and saves the modified zoning configuration
to nonvolatile memory.
NOTE
You can remove only one zone member at a time.
1. Issue the <edit-config> RPC to configure the <zoning>/<defined-configuration>/<zone> node
in the urn:brocade.com:mgmt:brocade-zone namespace and specify the following elements:
a. In the <zone-name> element, specify the zone from which you want to remove a WWN.
b. In the <member-entry> element, include an <entry-name> element containing the WWN
of the member you want to remove from the zone.
c. In the <member-entry> tag, include the delete operation.
2. Issue the <edit-config> RPC to configure the <zoning>/<enabled-configuration> node in the
urn:brocade.com:mgmt:brocade-zone namespace and set the value of the <cfg-action>
element to “cfg-save” to save the modified configuration to nonvolatile memory.
The following example removes WWN 11:22:33:44:55:66:77:84 from zoneD.
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="615" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone">
<defined-configuration>
<zone>
<zone-name>zoneD</zone-name>
<member-entry
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<entry-name>11:22:33:44:55:66:77:84</entry-name>
</member-entry>
</zone>
</defined-configuration>
<enabled-configuration>
<cfg-action>cfg-save</cfg-action>