Saving a copy of the zone configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 158

126
Network OS NETCONF Operations Guide
53-1003231-02
Zone configuration management
10
<rpc message-id="624" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone">
<enabled-configuration>
<cfg-action>cfg-clear</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="624" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="625" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone">
<cfg-name
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</cfg-name>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="625" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Saving a copy of the zone configuration
This procedure saves a copy of the running configuration to a file.
CAUTION
Ensure that no transaction is pending before you perform this copy operation, otherwise failures
will occur when you attempt to restore configuration entries from the saved file. Any transaction
data would cause such a failure, including empty configuration definitions or empty zones.