Switch connection control policy configuration, Creating a defined scc policy – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 260

228
Network OS NETCONF Operations Guide
53-1003231-02
Switch Connection Control policy configuration
17
<ok/>
</rpc-reply>
5. Issue the <get-config> RPC with a subtree filter to return the contents of the
<fcsp>/<auth>/<policy> node in the urn:brocade.com:mgmt:brocade-fc-auth namespace to
return and verify the switch policy state.
Switch Connection Control policy configuration
This section provides procedures to create, modify, activate, and remove a defined Switch
Connection Control (SCC) policy.
Creating a defined SCC policy
The following procedure creates an SCC policy, adds members, and verifies the configuration.
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.
3. Under the <policies> node, include the <policy> leaf element and set its value to
“SCC_POLICY”.
4. Under the <policies> node, include a <member-entry> node element for each WWN to which
you want the SCC_POLICY to apply.
5. Under each <member-entry> node, include a <member> leaf element, and set its value to the
WWN of the device to which you want to apply the policy.
6. To verify the configuration, issue a <get-config> RPC with a subtree filter to return only the
<defined-policy> node under the <secpolicy> node of the
urn:brocade.com:mgmt:brocade-fc-auth namespace.
The following example creates an SCC policy and adds 10:00:00:05:1e:00:69:00 and
22:22:22:22:22:22:22:22 as member nodes.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1405" 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>
<policy>SCC_POLICY</policy>
<member-entry>
<member>10:00:00:05:1e:00:69:00</member>
</member-entry>
<member-entry>
<member>22:22:22:22:22:22:22:22</member>
</member-entry>
</policies>
</defined-policy>