Removing the scc policy – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 263

Advertising
background image

Network OS NETCONF Operations Guide

231

53-1003231-02

Switch Connection Control policy configuration

17

Removing the SCC policy

To remove the SCC policy, perform the following steps.

1. Issue the <edit-config> RPC to configure the <secpolicy> node in the

urn:brocade.com:mgmt:brocade-fc-auth namespace.

2. Under the <secpolicy> node, include the <defined-policy>/<policies> hierarchy of node

elements, and include the delete operation in the opening tag of the <policies> element.

3. Under the <policies> node, include the <policy> element and specify “SCC_POLICY” to identify

the policy you want to remove.

The following example removes the SCC policy.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

<secpolicy xmlns="urn:brocade.com:mgmt:brocade-fc-auth">

<defined-policy>

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

operation="delete">

<policy>SCC_POLICY</policy>

</policies>

</defined-policy>

</secpolicy>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising