beautypg.com

Restoring a configuration from backup – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 159

background image

Network OS NETCONF Operations Guide

127

53-1003231-02

Zone configuration management

10

1. Empty the transaction buffer by either committing the transaction to nonvolatile memory or

aborting the transaction.

To save the defined configuration to nonvolatile memory, issue the RPC to
configure the / node in the
urn:brocade.com:mgmt:brocade-zone namespace and set the value of the
element to “cfg-save”.

To remove all uncommitted operations from the database, issue an RPC to
configure the / node in the
urn:brocade.com:mgmt:brocade-zone namespace and, in the element,
specify “cfg-transaction-abort”.

2. Issue the RPC to copy the running configuration to a specified destination

file.

The following example commits the zoning transaction and saves the defined configuration to a
remote file.

cfg-save

running-config

https://[email protected]:passphrase/cfg/archiveMay7.txt

6

in-progress

Restoring a configuration from backup

When you restore a saved configuration to the running configuration, the zone configuration
identified in the copied file as the enabled configuration becomes the new enabled configuration.

This operation updates the defined configuration in RAM.