Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 137

Network OS NETCONF Operations Guide
105
53-1003231-02
Zone aliases
10
</name-server>
</show>
</nca:data>
</nca:action>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="603">
<name-server xmlns="urn:brocade.com:mgmt:brocade-nameserver">
<nameserver-portid>013100</nameserver-portid>
<nameserver-portname>20:00:00:00:00:00:00:01</nameserver-portname>
<nameserver-nodename>10:00:00:05:00:00:00:01</nameserver-nodename>
(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 <defined-configuration> node, specify the <alias> node element.
b. Under the <alias> node, specify the <alias-name> element and set its value to the name
of the alias you want to create.
c. Under the <alias> node, specify the <member-entry> list node.
d. Under the <member-entry> node, specify the <alias-entry-name> leaf element, and set its
value to a WWN returned in the output of the <show>/<name-server>/<detail> action
issued in
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.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="604" 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>alias1</alias-name>
<member-entry>
<alias-entry-name>10:00:00:00:00:00:00:01
</alias-entry-name>
</member-entry>
</alias>
</defined-configuration>
<enabled-configuration>
<cfg-action>cfg-save</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="604" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>