Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 292

Advertising
background image

260

Network OS NETCONF Operations Guide

53-1003231-02

Configuring AMPP port-profiles

19

</port-profile>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1725" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

3. To delete the security 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 security

subprofile.

b. In the <security-profile> element, include the delete operation in the opening element tag.

The following example deletes the security subprofile from the port-profile named
vm1-port-profile.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1726" 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>

<security-profile

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

</port-profile>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1726" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

4. To delete the FCoE 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 FCoE

subprofile.

b. In the <fcoe-profile> element, include the delete operation in the opening element tag.

The following example deletes the FCoE subprofile from the port-profile named default.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1727" 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">

Advertising