Activating the authentication policy – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 259

Advertising
background image

Network OS NETCONF Operations Guide

227

53-1003231-02

Device authentication configuration

17

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<auth>

<proto>

<auth-type>dh-chap</auth-type>

<group>2</group>

<hash>md5</hash>

</proto>

<policy>

<switch>off</switch>

</policy>

</auth>

</fcsp>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Activating the authentication policy

To activate the authentication policy, set the switch policy state to “on” by performing the following
steps.

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

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

2. Under the <fcsp> node, include the <auth> node element.

3. Under the <auth> node, include the <policy> node element.

4. Under the <policy> node, include the <switch> leaf element and set the switch policy state to

“on”.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<auth>

<policy>

<switch>on</switch>

</policy>

</auth>

</fcsp>

</config>

</edit-config>

</rpc>

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

Advertising