Brocade Network OS NETCONF Operations Guide v4.1.1 Manual de usuario Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 622
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 139
108 Network OS NETCONF Operations Guide
53-1003231-02
Zone aliases
10
<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>
<member-entry>
<alias-entry-name>10:00:00:00:00:00:00:02
</alias-entry-name>
</member-entry>
<member-entry>
<alias-entry-name>10:00:00:00:00:00:00:03
</alias-entry-name>
</member-entry>
</alias-name>
</alias>
</defined-configuration>
</zoning>
</rpc-reply>
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 <zoning> node element, include the <defined-configuration> node element.
b. Under the <defined-configuration> node, include the <alias> node element.
c. Under the <alias> node element, include the <alias-name> element, and set its value to
the name of the alias from which you want to remove a member.
d. Under the <alias> element, include the <member-entry> node element, and include the
delete operation in the element tag.
e. Under the <member-entry> element, include the <alias-entry-name> leaf element, and
include the WWN of the member returned in step 1 that you want to remove.
f. Repeat step d and step e for each additional member you want to remove from the alias.
g. Under the <zoning> element, specify the <enabled-configuration> node element.
h. Under the <enabled-configuration> node, specify the <cfg-action> leaf element and set its
value to “cfg-save”, to save the configuration to nonvolatile memory.
The following example removes WWNs 10:00:00:00:00:00:00:02 and
10:00:00:00:00:00:00:03 from alias1.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="608" 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 xmlns="urn:brocade.com:mgmt:brocade-lldp"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<alias-entry-name>10:00:00:00:00:00:00:02
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 621 622

Comentarios a estos manuales

Sin comentarios