Brocade Network OS NETCONF Operations Guide v4.1.1 Manual do Utilizador Página 291

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 622
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 290
Network OS NETCONF Operations Guide 259
53-1003231-02
Configuring AMPP port-profiles
19
Deleting a subprofile
To delete a subprofile, perform the following steps.
1. Deactivate the port-profile—Issue an <edit-config> RPC to configure the <port-profile> node in
the urn:brocade.com:mgmt:brocade-port-profile namespace. Under the <port-profile> node,
specify the following leaf elements.
a. In the <name> element, specify the subprofile you want to delete,
b. In the <activate> element, include the delete operation in the opening tag.
The following example deactivates the port-profile named vm1-port-profile.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1724" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile-global
xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<port-profile>
<name>vm1-port-profile</name>
<activate xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</port-profile>
</port-profile-global>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1724" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
2. To delete the VLAN subprofile, issue an <edit-config> RPC to configure the <port-profile> node
in the urn:brocade.cpm:mgmt:brocade-port-profile namespace. Under the <port-profile> node,
specify the following leaf elements.
a. In the <name> element, specify the port-profile for which you want to delete the VLAN
subprofile.
b. In the <vlan-profile> element, include the delete operation in the opening element tag.
The following example deletes the VLAN subprofile from the port-profile named
vm1-port-profile.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1725" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<name>vm1-port-profile</name>
<vlan-profile
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
Vista de página 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 621 622

Comentários a estes Manuais

Sem comentários