Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 262

Advertising
background image

230

Network OS NETCONF Operations Guide

53-1003231-02

Switch Connection Control policy configuration

17

<nca:action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">

<nca:data>

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

<action>

<activate/>

</action>

</secpolicy>

</nca:data>

</nca:action>

</rpc>

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

<ok/>

</rpc-reply>

3. To verify the active configuration, issue a <get-config> RPC with a subtree filter to return only

the <secpolicy>/<active-policy> node in the urn:brocade.com:mgmt:brocade-fc-auth
namespace.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

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

<active-policy>

</active-policy>

</secpolicy>

</filter>

</get-config>

</rpc>

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

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

<active-policy>

<policies>

<policy>

<member-entry>

<member>10:00:00:05:1e:00:69:00</member>

</member-entry>

<member-entry>

<member>10:00:00:08:2f:00:79:00</member>

</member-entry>

</policies>

</active-policy>

</secpolicy>

</rpc-reply>

Advertising