Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 66

Advertising
background image

34

Network OS NETCONF Operations Guide

53-1003231-02

supportSave data

3

(VCS Fabric mode only) In the <rbridge-id> field, specify the RBridge ID of the switch whose
supportSave data you want to save.

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

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

<nca:data>

<copy xmlns="urn:brocade.com:mgmt:brocade-ras">

<support>

<ftp>

<user>admin</user>

<host>10.38.33.131</host>

<directory>/home/admin/support</directory>

<password>h8F!@m</password>

<rbridge-id>5</rbridgeid>

</ftp>

</support>

</copy>

</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="315">

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

<support>

<ftp>

<supportSaveResult>

<rbridge-id>5</rbridge-id>

<status-code>success</status-code>

</supportSaveResult>

</ftp>

</support>

</copy>

</rpc-reply>

Uploading supportSave to an external host using SCP

To upload supportSave data to an external host using SCP, issue the <copy>/<support>/<scp>
custom action located in the urn:brocade.com:mgmt:brocade-ras namespace. Under the <scp>
node, include the following leaf elements:

In the <user> and <password> elements, provide valid login credentials for an account on the
SCP server.

In the <host> field, specify the IP address of the SCP server.

IPv6 addresses are valid only on Network OS 3.0.0 platforms.

In the <directory> field, specify the path to the directory on the SCP server where you want to
store the supportSave data.

(VCS Fabric mode only) In the <rbridge-id> field, specify the RBridge ID of the switch whose
supportSave data you want to save.

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

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

<nca:data>

<copy xmlns="urn:brocade.com:mgmt:brocade-ras">

<support>

<scp>

<user>admin</user>

Advertising