Zoning information – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 142

110
Network OS NETCONF Operations Guide
53-1003231-02
Zoning information
10
</member-entry>
<member-entry>
<alias-entry-name>10:00:00:00:00:00:00:03
</alias-entry-name>
</member-entry>
</alias-name>
</alias>
(output truncated)
2. Issue the <edit-config> RPC to configure the <zoning> node in the
urn:brocade.com:mgmt:brocade-zone namespace, and specify the following elements.
a. Under the <zoning> node element, include the <defined-configuration> node element.
b. Under the <defined-configuration> element, include the <alias> node element.
c. Under the <alias> element, include the <alias-name> element, include the delete
operation in the element tag, and set the element value to the name of the alias you want
to delete.
d. Repeat
for each additional alias you want to delete.
e. Under the <enabled-configuration> node, specify the <cfg-action> node element and set
its value to “cfg-save”, to save the configuration to nonvolatile memory.
The following example removes alias1 and saves the defined configuration to nonvolatile
storage.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="610" 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>
<alias>
<alias-name
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">alias1</alias-name>
</alias>
</defined-configuration>
<enabled-configuration>
<cfg-action>cfg-save</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="610" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Zoning information
The following sections provide procedures for querying the defined zones configuration and the
enabled zone configuration: