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

  • 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 152
Network OS NETCONF Operations Guide 121
53-1003231-02
Zone configuration management
10
<enabled-configuration>
<cfg-action>cfg-save</cfg-action>
</enabled-configuration>
</zoning>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="618" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Removing a zone from a zone configuration
The following procedure removes a zone from a zone configuration and saves the modified zoning
configuration to nonvolatile memory.
NOTE
You can remove only one zone at a time.
1. Issue an <edit-config> RPC to configure the <zoning>/<defined-configuration>/<cfg> node in
the urn:brocade.com:mgmt:brocade-zone namespace and specify the following elements:
a. Include the <cfg-name> element containing the name of the zoning configuration to which
you want to add zones.
b. Include a <member-zone> element for the zone you want to remove from the
configuration. The <member-zone> element must contain a <zone-name> element
containing the name of a zone.
c. Include the delete operation in the <member-zone> tag.
2. Issue the <edit-config> RPC to configure the <zoning>/<enabled-configuration> node in the
urn:brocade.com:mgmt:brocade-zone namespace and set the value of the <cfg-action>
element to “cfg-save” to save the modified configuration to nonvolatile memory.
NOTE
Saving the configuration to nonvolatile memory deletes the configuration if the zone you are
removing is the last member in the configuration.
The following example removes zoneA from cfg3 and saves the configuration to nonvolatile
memory.
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="619" 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>
<cfg>
<cfg-name>cfg3</cfg-name>
<member-zone
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<zone-name>zoneA</zone-name>
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 621 622

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

Žádné komentáře