Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 233

Advertising
background image

Network OS NETCONF Operations Guide

201

53-1003231-02

Login authentication mode

16

<running/>

</target>

<config>

<aaa-config xmlns="urn:brocade.com:mgmt:brocade-aaa">

<aaa>

<authentication>

<login

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

operation="delete"/>

</authentication>

</aaa>

</aaa-config>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

2. Specify the desired authentication mode.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

<aaa-config xmlns="urn:brocade.com:mgmt:brocade-aaa">

<aaa>

<authentication>

<login>

<first>radius</first>

<second>local</second>

</login>

</authentication>

</aaa>

</aaa-config>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

3. Verify the configuration with the <get-config> RPC.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

<aaa-config xmlns="urn:brocade.com:mgmt:brocade-aaa">

<aaa>

<authentication/>

Advertising