Brocade Network OS NETCONF Operations Guide v4.1.1 Uživatelský manuál Strana 157

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 622
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 156
Network OS NETCONF Operations Guide 125
53-1003231-02
Zone configuration management
10
Clearing changes to a zone configuration
This procedure removes all uncommitted operations from the database. It returns the configuration
in volatile memory to its state the last time a transaction commit operation was performed.
To remove all uncommitted operations from the database, issue an <edit-config> RPC to configure
the <zoning>/<enabled-configuration> node in the urn:brocade.com:mgmt:brocade-zone
namespace and, in the <cfg-action> element, specify “cfg-transaction-abort”.
The following example removes all uncommitted operations from the zoning database.
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="623" 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-transaction-abort</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="623" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Clearing all enabled-zone configurations
This procedure clears all zone configurations from the defined configuration and enables the
default zone. If there is no enabled-configuration, the default zone is enabled, regardless of
whether or not there is a default zone configuration defined.
CAUTION
For fabrics with many devices, Brocade recommends setting the default access mode to No
Access before clearing all zone configurations to avoid RSCN storms.
1. Issue an <edit-config> RPC to configure the <zoning>/<cfg-name> node in the
urn:brocade.com:mgmt:brocade-zone namespace and, in the <cfg-action> element, specify
“cfg-clear”.
2. Issue one of the following RPCs, depending on whether an enabled zone configuration exists:
If no enabled zone configuration exists, issue the <edit-config> RPC to configure the
<zoning>/<enabled-configuration> node and, in an <cfg-action> element, specify
“cfg-save”.
If an enabled zone configuration exists, issue an <edit-config> RPC to configure the
<zoning>/<enabled-configuration> node and include the delete operation in the
<enabled-configuration> tag.
The following example clears the zoning database and enables the default configuration.
Zobrazit stránku 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 621 622

Komentáře k této Příručce

Žádné komentáře