Removing shared secrets – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 257

Network OS NETCONF Operations Guide
225
53-1003231-02
Device authentication configuration
17
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1400">
<fcsp xmlns="urn:brocade.com:mgmt:brocade-fc-auth">
<auth-secret>
<dhchap>
<result>Shared secret is configured successfully.</result>
</dhchap>
</auth-secret>
</fcsp>
</rpc-reply>
Returning the device WWN for which a shared secret is configured
To return the device (WWN) for which the shared secret is configured, issue the
<show>/<fcsp>/<auth-secret>/<dhchap> action, where the <show> node is located in the
urn:brocade.com:mgmt:brocade-common-def namespace, and the <fcsp>/<auth-secret> nodes
are located in the urn:brocade.com:mgmt:brocade-fc-auth namespace.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1401">
<nca:action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<nca:data>
<show xmlns="urn:brocade.com:mgmt:brocade-common-def">
<fcsp xmlns="urn:brocade.com:mgmt:brocade-fc-auth">
<auth-sercret>
<dhchap/>
</auth-secret>
</fcsp>
</show>
</nca:data>
</nca:action>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1401">
<show xmlns="urn:brocade.com:mgmt:brocade-common-def">
<fcsp xmlns="urn:brocade.com:mgmt:brocade-fc-auth">
<auth-secret>
<dhchap>
<auth-show-secret>
<nodeid>10:00:00:05:1e:7a:c3:00</nodeid>
</auth-show-secret>
</dhchap>
</auth-secret>
</fcsp>
</show>
</rpc-reply>
Removing shared secrets
To remove the shared secrets, perform the following steps.
1. Issue the <no>/<fcsp>/<auth-secret>/<dhchap> action, where the <no> node is located in
the urn:brocade.com:mgmt:brocade-common-def namespace, and the <fcsp> node is located
in the urn:brocade.com:mgmt:brocade-fc-auth namespace.
2. Under the <dhchap> node, include the <node> element and specify the WWN of the node for
which you want to remove secrets.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1402">