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

116
Network OS NETCONF Operations Guide
53-1003231-02
Zone creation and management
10
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone">
<defined-configuration>
<zone>
<zone-name>zoneD</zone-name>
<member-entry>
<entry-name>11:22:33:44:55:66:77:80</entry-name>
</member-entry>
<member-entry>
<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>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="613" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Adding a member to a zone
The following procedure adds a WWN to a zone and saves the modified zoning configuration to
nonvolatile memory. Up to 255 zone member objects are supported for each zone.
1. Issue the <edit-config> RPC to configure the <zoning>/<defined-configuration>/<zone> node
in the in the urn:brocade.com:mgmt:brocade-zone namespace and specify the following
elements:
a. In the <zone-name> element, provide the name of the zone to which you want to add a
WWN.
b. In a <member-entry> element, provide an <entry-name> element containing the WWN you
want to add to the zone.
The WWN can be a node WWN or a port WWN.
2. Issue the <edit-config> RPC on the <zoning>/<enabled-configuration> node and set the value
of the <cfg-action> element to “cfg-save” to save the modified configuration to nonvolatile
memory.
The following example adds a WWN to an existing zone.
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="614" 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>
<entry-name>11:22:33:44:55:66:77:85</entry-name>