Deleting a port-profile – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 289

Network OS NETCONF Operations Guide
257
53-1003231-02
Configuring AMPP port-profiles
19
xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<port-profile>
<name>vm1-port-profile</name>
<static xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mac-address>0050.56bf:0001</mac-address>
</static>
</port-profile>
<port-profile>
<name>vm1-port-profile</name>
<static xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mac-address>0050.56bf:0002</mac-address>
</static>
</port-profile>
<port-profile>
<name>vm1-port-profile</name>
<static xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mac-address>0050.56bf:0003</mac-address>
</static>
</port-profile>
<port-profile>
<name>vm1-port-profile</name>
<static xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mac-address>0050.56bf:0004</mac-address>
</static>
</port-profile>
<port-profile>
<name>vm1-port-profile</name>
<static xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<mac-address>0050.56bf:0005</mac-address>
</static>
</port-profile>
</port-profile-global>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1719" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Deleting a port-profile
You cannot delete the default port-profile.
To delete a port-profile, 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.